Lines Matching refs:ofile
111 int ofile; /* file descriptor for output file when uploading to us */
580 if(!test->ofile) {
583 test->ofile=open(outfile, O_CREAT|O_RDWR, 0777);
584 if(test->ofile == -1) {
600 return write(test->ofile, writebuf, count);
608 lseek(test->ofile, -1, SEEK_CUR); /* smash lf on top of the cr */
616 if(1 != write(test->ofile, &c, 1))
900 if(test.ofile > 0) {
901 close(test.ofile);
902 test.ofile = 0;
919 if(test.ofile > 0)
920 close(test.ofile);