def METHOD_NAME(allSyscallNames):
    # Open file for writing
    outFile = open("dyn_syscalls.h", "w")
    # Write out "header" information
    outFile.write("/* This file was autogenerated from syscalls/generateSyscallInformation.py */" + "\n")
    outFile.write("#if !defined(DYN_SYSCALLS_H_)\n")
    outFile.write("#define DYN_SYSCALLS_H_ \n")
    outFile.write("\n")
    outFile.write("namespace Dyninst {\n")
    outFile.write("namespace Syscall {\n")
    outFile.write("enum {\n")
    # Write out our system calls!
    for syscall in allSyscallNames:
        if (syscall.find("//") == -1):
            outFile.write("\tdyn_" + syscall + ", \n")
        else:
            outFile.write("\t" + syscall + "\n")
    # Write out "footer" information
    outFile.write("};\n")
    outFile.write("}}\n")
    outFile.write("#endif\n")
    # Close file
    outFile.close()