Lines Matching refs:outfd
186 static int infd, outfd;
205 /* Write COUNT bytes from memory starting at address SRC to outfd
211 if (lseek (outfd, dest, SEEK_SET) != dest)
214 return (count == write(outfd, src, count));
217 /* Write COUNT bytes of zeros to outfd starting at offset DEST.
226 if (lseek (outfd, dest, SEEK_SET) != dest)
232 if (write (outfd, buf, bytes) != bytes)
241 offset DEST in outfd. Return true if successful, false
254 if (lseek (outfd, dest, SEEK_SET) != dest)
263 if (write (outfd, buf, bytes_read) != bytes_read)
1289 outfd = open (outfile, O_WRONLY | O_TRUNC | O_CREAT, 0755);
1290 if (outfd < 0)
1306 close (outfd);