Lines Matching defs:ofile
118 int ofile; /* file descriptor for output file when uploading to us */
572 if(!test->ofile) {
575 test->ofile=open(outfile, O_CREAT|O_RDWR, 0777);
576 if(test->ofile == -1) {
592 return write(test->ofile, writebuf, count);
600 lseek(test->ofile, -1, SEEK_CUR); /* smash lf on top of the cr */
608 if(1 != write(test->ofile, &c, 1))
892 if(test.ofile > 0) {
893 close(test.ofile);
894 test.ofile = 0;
911 if(test.ofile > 0)
912 close(test.ofile);