Searched defs:fd_out (Results 1 - 3 of 3) sorted by relevance

/illumos-gate/usr/src/cmd/lp/filter/postscript/common/
H A Dmisc.c187 int fd_out; /* and output files */ local
205 fd_out = fileno(stdout);
207 write(fd_out, buf, count);
/illumos-gate/usr/src/lib/libbc/libc/sys/common/
H A D_open.c144 FILE *fd_in, *fd_out; local
156 if ((fd_out = _fopen(tmp_name, "a+")) == NULL) {
163 if (putmline(line, fd_out) == -1) {
165 fclose(fd_out);
169 if (putfline(line, fd_out) == -1) {
171 fclose(fd_out);
179 fclose(fd_out);
189 fclose(fd_out);
/illumos-gate/usr/src/cmd/sort/common/
H A Dutility.c682 int fd_in, fd_out; local
694 if ((fd_out = open(dst, O_RDWR | O_CREAT | O_TRUNC, OUTPUT_MODE)) < 0)
702 if (write(fd_out, mm_in, chunksize) != chunksize)
713 if (write(fd_out, mm_in, lastchunk) != lastchunk)
721 if (close(fd_out) == -1)

Completed in 84 milliseconds