Lines Matching refs:OutFile
86 static int OutFile = -1; in getOutFile() local
91 if (OutFile == -1) { in getOutFile()
92 OutFile = open(OutputFilename, O_CREAT | O_WRONLY, 0666); in getOutFile()
93 lseek(OutFile, 0, SEEK_END); /* O_APPEND prevents seeking */ in getOutFile()
94 if (OutFile == -1) { in getOutFile()
98 return(OutFile); in getOutFile()
105 if (write(OutFile, &PTy, sizeof(int)) < 0 || in getOutFile()
106 write(OutFile, &SavedArgsLength, sizeof(unsigned)) < 0 || in getOutFile()
107 write(OutFile, SavedArgs, SavedArgsLength) < 0 ) { in getOutFile()
113 if (write(OutFile, &Zeros, 4-(SavedArgsLength&3)) < 0) { in getOutFile()
120 return(OutFile); in getOutFile()