| /onnv/onnv-gate/usr/src/cmd/lp/lib/lp/ |
| alerts.c | 94 int fdout, fdin; local 132 if ((fdout = open_locked(path, "w", MODE_NOEXEC)) < 0) { 171 fdputs (cp, fdout); 188 fdprintf(fdout, newline); 189 envlist(fdout, environ); 194 fdprintf (fdout, "%s", cur_dir); 198 fdprintf (fdout, "%ld", ulimit(1, (long)0)); 203 fdprintf (fdout, "%03o", cur_umask); 207 fdprintf(fdout, "%ld", (long)alertp->W); 211 fdprintf(fdout, newline) [all...] |
| /onnv/onnv-gate/usr/src/cmd/lp/lib/printers/ |
| putprinter.c | 97 int fdin, fdout; local 180 if ((fdout = open_locked(path, "w", MODE_EXEC)) < 0) { 186 write (fdout, buf, n); 187 close(fdout); 308 if ((fdout = open_locked(path, "w", MODE_READ)) < 0) { 342 (void)fdprintf(fdout, "%s %s\n", HEAD, ptr); 347 print_sdn(fdout, HEAD, prbufp->cpi); 352 print_l(fdout, HEAD, prbufp->char_sets); 360 print_l(fdout, HEAD, prbufp->input_types); 364 print_str(fdout, HEAD, prbufp->device) 682 int fdout = 0; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/troff/troff.d/ |
| makedev.c | 118 int fdout; /* output file descriptor */ variable 180 fdout = creat(fout, 0666); 181 if (fdout < 0) { 185 write(fdout, &dev, sizeof(struct dev)); 186 write(fdout, size, (dev.nsizes+1) * sizeof(size[0])); /* we need a 0 on the end */ 187 write(fdout, chtab, dev.nchtab * sizeof(chtab[0])); 188 write(fdout, chname, dev.lchname); 192 write(fdout, &font, sizeof(struct Font)); 193 write(fdout, width, font.nwfont & BYTEMASK); 194 write(fdout, kern, font.nwfont & BYTEMASK) 221 int fdout; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/lp/filter/postscript/font/ |
| makedev.c | 120 int fdout; /* output file descriptor */ variable 189 fdout = creat(fout, 0666); 190 if (fdout < 0) { 194 write(fdout, &dev, sizeof(struct dev)); 195 write(fdout, size, (dev.nsizes+1) * sizeof(size[0])); /* we need a 0 on the end */ 196 write(fdout, chtab, dev.nchtab * sizeof(chtab[0])); 197 write(fdout, chname, dev.lchname); 201 write(fdout, &font, sizeof(struct Font)); 202 write(fdout, width, font.nwfont & BYTEMASK); 203 write(fdout, kern, font.nwfont & BYTEMASK) 227 int fdout; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/ssh/sshd/ |
| serverloop.c | 77 static int fdout; /* Descriptor for stdout (for reading); variable 85 static int fdout_eof = 0; /* EOF encountered reading from fdout. */ 305 FD_SET(fdout, *readsetp); 395 if (!fdout_eof && FD_ISSET(fdout, readset)) { 396 len = read(fdout, buf, sizeof(buf)); 438 if (fdin != fdout) 529 fdout = fdout_arg; 534 set_nonblock(fdout); 559 max_fd = MAX(max_fd, fdout); 591 if (fdin != fdout) [all...] |
| session.c | 542 * handle the case that fdin and fdout are the same. 565 int fdout, ptyfd, ttyfd, ptymaster, pipe_fds[2]; local 655 fdout = dup(ptyfd); 656 if (fdout < 0) 668 session_set_fds(s, ptyfd, fdout, -1); 672 server_loop(pid, ptyfd, fdout, -1); 673 /* server_loop _has_ closed ptyfd and fdout. */ [all...] |
| /onnv/onnv-gate/usr/src/cmd/stmsboot/ |
| stmsboot_util.c | 1349 FILE *fdin, *fdout; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/cmd-inet/usr.sbin/in.ftpd/ |
| ftpd.c | 4384 int fdout; local [all...] |