Searched defs:fd_in (Results 1 - 6 of 6) sorted by relevance

/illumos-gate/usr/src/cmd/lp/filter/postscript/postio/
H A Dslowsend.c68 slowsend(int fd_in) argument
84 while ( readblock(fd_in) )
H A Dpostio.c637 int fd_in; /* next input file */ local
645 if ((fd_in = open(*argv, O_RDONLY)) == -1)
647 send(fd_in, *argv);
648 close(fd_in);
665 * fd_in next input file
670 send(int fd_in, char *name) argument
678 slowsend(fd_in);
682 while (readblock(fd_in))
869 * last one. Blocks from fd_in are stored in array block[]. head is the index
880 readblock(int fd_in) argument
[all...]
/illumos-gate/usr/src/cmd/lp/filter/postscript/common/
H A Dmisc.c186 int fd_in; /* for the input */ local
202 if ( (fd_in = open(file, O_RDONLY)) == -1 )
206 while ( (count = read(fd_in, buf, sizeof(buf))) > 0 )
209 close(fd_in);
/illumos-gate/usr/src/lib/libbc/libc/sys/common/
H A D_open.c144 FILE *fd_in, *fd_out; local
150 if ((fd_in = _fopen(fname, "r")) == NULL)
157 fclose(fd_in);
161 while (getmntline(line, fd_in) != -1) {
164 fclose(fd_in);
170 fclose(fd_in);
177 if (feof(fd_in)) {
178 fclose(fd_in);
188 fclose(fd_in);
/illumos-gate/usr/src/cmd/lp/filter/postscript/postcomm/
H A Dpostcomm.c398 int fd_in = fileno(stdin);
414 while (readblock(fd_in))
485 readblock(int fd_in)
492 * with the last one. Blocks from fd_in are stored in array block[].
504 if ((tail = read(fd_in, block, blocksize)) == -1)
392 int fd_in = fileno(stdin); local
478 readblock(int fd_in) argument
/illumos-gate/usr/src/cmd/sort/common/
H A Dutility.c682 int fd_in, fd_out; local
692 if ((fd_in = open(src, O_RDONLY)) < 0)
698 if ((mm_in = mmap(0, chunksize, PROT_READ, MAP_SHARED, fd_in,
709 if ((mm_in = mmap(0, lastchunk, PROT_READ, MAP_SHARED, fd_in,
719 (void) close(fd_in);

Completed in 759 milliseconds