Lines Matching refs:ofile
111 int ofile; /* file descriptor for output file when uploading to us */ member
565 if(!test->ofile) { in write_behind()
568 test->ofile=open(outfile, O_CREAT|O_RDWR, 0777); in write_behind()
569 if(test->ofile == -1) { in write_behind()
585 return write(test->ofile, writebuf, count); in write_behind()
593 lseek(test->ofile, -1, SEEK_CUR); /* smash lf on top of the cr */ in write_behind()
601 if(1 != write(test->ofile, &c, 1)) in write_behind()
884 if(test.ofile > 0) { in main()
885 close(test.ofile); in main()
886 test.ofile = 0; in main()
903 if(test.ofile > 0) in main()
904 close(test.ofile); in main()