Lines Matching refs:io_outfd
133 int io_outfd; /* output file numbers */ variable
302 write(io_outfd, buf, len); in lwrite()
470 return (io_outfd = 1); in lcreat()
471 if ((io_outfd = creat(str, 0644)) < 0) { in lcreat()
472 io_outfd = 1; in lcreat()
478 return (io_outfd); in lcreat()
496 io_outfd = 1; in lopen()
516 return (io_outfd = 1); in lappend()
517 if ((io_outfd = open(str, 2)) < 0) { in lappend()
518 io_outfd = 1; in lappend()
521 lseek(io_outfd, 0, SEEK_END); /* seek to end of file */ in lappend()
522 return (io_outfd); in lappend()
548 if (io_outfd > 2) { in lwclose()
549 close(io_outfd); in lwclose()
550 io_outfd = 1; in lwclose()
786 if (write(io_outfd, lpbuf, lpoint) != lpoint) in lflush()
896 if (write(io_outfd, lpbuf, lpoint) != lpoint) in lflush()
924 write(io_outfd, outbuf, vindex); in flush_buf()