/freebsd-11-stable/usr.sbin/lpr/lpd/ |
H A D | lpd.c | 409 dup2(s, STDOUT_FILENO); 486 if ((n = read(STDOUT_FILENO, cp, 1)) != 1) {
|
H A D | printjob.c | 170 (void) write(STDOUT_FILENO, "", 1); /* ack that daemon is started */ 683 dup2(p[1], STDOUT_FILENO); /* pipe is stdout */ 822 dup2(fo, STDOUT_FILENO); 1417 dup2(outfd, STDOUT_FILENO); 1579 dup2(p[1], STDOUT_FILENO); 1620 (void) close(STDOUT_FILENO); 1814 dup2(pp->remote ? tfd : pfd, STDOUT_FILENO);
|
H A D | recvjob.c | 69 #define ack() (void) write(STDOUT_FILENO, sp, (size_t)1); 163 size = read(STDOUT_FILENO, cp, (size_t)1); 207 (void) write(STDOUT_FILENO, "\2", (size_t)1); 236 (void) write(STDOUT_FILENO, "\2", (size_t)1); 277 j = read(STDOUT_FILENO, cp, amt); 312 if (read(STDOUT_FILENO, &resp, (size_t)1) != 1) {
|
/freebsd-11-stable/usr.sbin/nghook/ |
H A D | main.c | 67 static int outfd = STDOUT_FILENO; 117 infd = STDOUT_FILENO;
|
/freebsd-11-stable/usr.sbin/ofwdump/ |
H A D | ofwdump.c | 168 write(STDOUT_FILENO, pbuf, len);
|
/freebsd-11-stable/usr.sbin/ppp/ |
H A D | chap.c | 309 dup2(out[1], STDOUT_FILENO);
|
H A D | chat.c | 746 dup2(STDIN_FILENO, STDOUT_FILENO);
|
H A D | command.c | 669 dup2(fd, STDOUT_FILENO);
|
H A D | exec.c | 335 dup2(fids[1], STDOUT_FILENO); 393 dev->fd_out = dup(STDOUT_FILENO);
|
H A D | main.c | 317 * We open 3 descriptors to ensure that STDIN_FILENO, STDOUT_FILENO and 509 close(STDOUT_FILENO); 516 * -direct - STDIN_FILENO gets used by physical_Open. STDOUT_FILENO
|
H A D | physical.c | 1019 close(STDOUT_FILENO);
|
H A D | prompt.c | 335 p->fd_out = STDOUT_FILENO;
|
/freebsd-11-stable/usr.sbin/pppctl/ |
H A D | pppctl.c | 154 write(STDOUT_FILENO, Buffer, last-Buffer); 169 write(STDOUT_FILENO, Buffer, strlen(Buffer)); 187 write(STDOUT_FILENO, Buffer, flush); 194 write(STDOUT_FILENO, Buffer, len); 227 write(STDOUT_FILENO, buf, len); 654 write(STDOUT_FILENO, Buffer, strlen(Buffer)); 664 write(STDOUT_FILENO, "quit\n", 5);
|
/freebsd-11-stable/usr.sbin/rmt/ |
H A D | rmt.c | 159 (void)write(STDOUT_FILENO, resp, strlen(resp)); 160 (void)write(STDOUT_FILENO, record, rval); 185 (void)write(STDOUT_FILENO, resp, strlen(resp)); 186 (void)write(STDOUT_FILENO, (char *)&mtget, rval); 203 (void)write(STDOUT_FILENO, resp, strlen(resp)); 251 (void)write(STDOUT_FILENO, resp, strlen(resp));
|
/freebsd-11-stable/usr.sbin/vidcontrol/ |
H A D | vidcontrol.c | 1265 write(STDOUT_FILENO, shot.buf,
|
/freebsd-11-stable/bin/dd/ |
H A D | dd.c | 153 out.fd = STDOUT_FILENO;
|
/freebsd-11-stable/bin/echo/ |
H A D | echo.c | 135 if (writev(STDOUT_FILENO, iov, nwrite) == -1)
|
/freebsd-11-stable/bin/ps/ |
H A D | ps.c | 197 else if ((ioctl(STDOUT_FILENO, TIOCGWINSZ, (char *)&ws) == -1 &&
|
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/zfs/ |
H A D | zfs_main.c | 3927 if (!flags.dryrun && isatty(STDOUT_FILENO)) { 3935 return (zfs_send_resume(g_zfs, &flags, STDOUT_FILENO, 3971 err = zfs_send_one(zhp, fromname, STDOUT_FILENO, flags); 4018 err = zfs_send(zhp, fromname, toname, &flags, STDOUT_FILENO, NULL, 0, 4027 (void) dup2(STDERR_FILENO, STDOUT_FILENO); 7092 err = zfs_show_diffs(zhp, STDOUT_FILENO, fromsnap, tosnap, flags);
|
/freebsd-11-stable/contrib/apr/ |
H A D | configure | 21077 return dup3(STDOUT_FILENO, STDERR_FILENO, 0) == -1; 21318 return dup3(STDOUT_FILENO, STDERR_FILENO, 0) == -1;
|
/freebsd-11-stable/contrib/apr/threadproc/unix/ |
H A D | proc.c | 437 close(STDOUT_FILENO); 440 attr->child_out->filedes != STDOUT_FILENO) { 441 dup2(attr->child_out->filedes, STDOUT_FILENO);
|
/freebsd-11-stable/contrib/file/src/ |
H A D | compress.c | 848 pipe(fdp[STDOUT_FILENO]) == -1 || pipe(fdp[STDERR_FILENO]) == -1) { 850 closep(fdp[STDOUT_FILENO]); 880 if (copydesc(STDOUT_FILENO, fdp[STDOUT_FILENO][1])) 881 (void) close(fdp[STDOUT_FILENO][1]); 882 if (fdp[STDOUT_FILENO][0] > 2) 883 (void) close(fdp[STDOUT_FILENO][0]); 914 r = sread(fdp[STDOUT_FILENO][0], *newch, bytes_max, 0); 916 DPRINTF("Read stdout failed %d (%s)\n", fdp[STDOUT_FILENO][0], 940 closefd(fdp[STDOUT_FILENO], [all...] |
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/fuzzer/ |
H A D | FuzzerUtilFuchsia.cpp | 444 int FdOut = STDOUT_FILENO; 459 if (FdOut != STDOUT_FILENO) 483 .target_fd = STDOUT_FILENO,
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_mac.cpp | 281 posix_spawn_file_actions_adddup2(&acts, slave_fd, STDOUT_FILENO) ||
|
H A D | sanitizer_posix_libcdep.cpp | 460 internal_close(STDOUT_FILENO); 461 internal_dup2(stdout_fd, STDOUT_FILENO);
|