/titanic_44/usr/src/lib/libpkg/common/ |
H A D | pkgexecv.c | 385 if (isatty(STDOUT_FILENO)) { in pkgexecv() 396 (void) dup2(n, STDOUT_FILENO); in pkgexecv() 411 (void) dup2(n, STDOUT_FILENO); in pkgexecv() 419 (void) dup2(STDOUT_FILENO, STDERR_FILENO); in pkgexecv()
|
H A D | runcmd.c | 143 if (ofd >= 0 && ofd != STDOUT_FILENO) { in esystem() 144 (void) dup2(ofd, STDOUT_FILENO); in esystem() 398 (void) dup2(ipipe[1], STDOUT_FILENO); in e_ExecCmdArray()
|
/titanic_44/usr/src/cmd/ssh/libssh/common/ |
H A D | progressmeter.c | 86 return (getpgrp() == tcgetpgrp(STDOUT_FILENO)); in can_output() 228 atomicio(vwrite, STDOUT_FILENO, buf, win_size - 1); in refresh_progress_meter() 284 atomicio(vwrite, STDOUT_FILENO, "\n", 1); in stop_progress_meter() 299 if (ioctl(STDOUT_FILENO, TIOCGWINSZ, &winsize) != -1 && in setscreensize()
|
H A D | entropy.c | 85 dup2(p[1], STDOUT_FILENO); in seed_rng()
|
H A D | readpass.c | 65 if (dup2(p[1], STDOUT_FILENO) < 0) in ssh_askpass()
|
/titanic_44/usr/src/lib/libc/port/gen/ |
H A D | daemon.c | 90 if ((fd != STDOUT_FILENO) && (dup2(fd, STDOUT_FILENO) < 0)) { in daemon()
|
/titanic_44/usr/src/cmd/enhance/ |
H A D | enhance.c | 159 if(!isatty(STDIN_FILENO) || !isatty(STDOUT_FILENO)) { in main() 541 while(dup2(slave, STDOUT_FILENO) < 0 && errno==EINTR) in pty_child() 631 (void) pty_write_to_fd(STDOUT_FILENO, "\r", 1); in GL_FD_EVENT_FN() 635 (void) pty_write_to_fd(STDOUT_FILENO, rbuff, nextp - rbuff); in GL_FD_EVENT_FN() 639 (void) pty_write_to_fd(STDOUT_FILENO, "\r\n", 2); in GL_FD_EVENT_FN()
|
/titanic_44/usr/src/cmd/syslogd/ |
H A D | conf.c | 77 (void) close(STDOUT_FILENO); in open_conf_pipe() 79 if (dup2(pfds[1], STDOUT_FILENO) == -1) { in open_conf_pipe()
|
/titanic_44/usr/src/cmd/zlogin/ |
H A D | zlogin.c | 642 (void) write(STDOUT_FILENO, &cmdchar, 1); in process_user_input() 643 (void) write(STDOUT_FILENO, cc, strlen(cc)); in process_user_input() 671 (void) write(STDOUT_FILENO, obuf, ln); in process_user_input() 869 if (process_output(stdout_fd, STDOUT_FILENO) in doio() 960 (void) write(STDOUT_FILENO, ibuf, cc); in doio() 1616 (void) close(STDOUT_FILENO); in noninteractive_login() 1619 (void) dup2(stdout_pipe[1], STDOUT_FILENO); in noninteractive_login() 1630 (void) ioctl(STDOUT_FILENO, I_ANCHOR); in noninteractive_login() 2235 (void) dup2(slavefd, STDOUT_FILENO); in main() 2237 if (slavefd != STDIN_FILENO && slavefd != STDOUT_FILENO && in main()
|
/titanic_44/usr/src/cmd/ssh/ssh-keysign/ |
H A D | ssh-keysign.c | 232 if ((fd == STDIN_FILENO) || (fd == STDOUT_FILENO)) in main() 260 ssh_msg_send(STDOUT_FILENO, version, &b); in main()
|
/titanic_44/usr/src/cmd/cmd-inet/usr.lib/wanboot/encr/ |
H A D | encr.c | 148 if (wbio_nwrite(STDOUT_FILENO, iv, ch->blocklen) != 0) { in encr_gen() 206 if (wbio_nwrite(STDOUT_FILENO, buf, i) != 0) { in encr_gen()
|
/titanic_44/usr/src/cmd/tail/ |
H A D | extern.h | 39 if (write(STDOUT_FILENO, p, size) != (ssize_t)size) \
|
/titanic_44/usr/src/cmd/fs.d/nfs/lib/ |
H A D | daemon.c | 124 (void) fcntl(fd, F_DUP2FD, STDOUT_FILENO); in daemonize_fini()
|
/titanic_44/usr/src/cmd/projects/ |
H A D | projects.c | 140 int smart = isatty(STDOUT_FILENO); in print_projects() 162 if (ioctl(STDOUT_FILENO, TIOCGWINSZ, &ws) != -1 && in print_projects()
|
/titanic_44/usr/src/lib/libinstzones/common/ |
H A D | zones_exec.c | 243 (void) dup2(ipipe[1], STDOUT_FILENO); in z_ExecCmdArray() 488 (void) ioctl(STDOUT_FILENO, I_ANCHOR); in _zexec() 841 (void) dup2(ipipe[1], STDOUT_FILENO); in _z_zone_exec()
|
/titanic_44/usr/src/ucbhead/ |
H A D | unistd.h | 118 #define STDOUT_FILENO 1 macro
|
/titanic_44/usr/src/lib/libbc/inc/include/ |
H A D | unistd.h | 65 #define STDOUT_FILENO 1 macro
|
/titanic_44/usr/src/cmd/ssh/include/ |
H A D | defines.h | 72 #ifndef STDOUT_FILENO 73 #define STDOUT_FILENO 1 macro
|
/titanic_44/usr/src/cmd/cmd-inet/usr.lib/wanboot/hmac/ |
H A D | hmac.c | 88 if (wbio_nwrite(STDOUT_FILENO, digest, sizeof (digest)) != 0) { in hash_gen()
|
/titanic_44/usr/src/cmd/svc/startd/ |
H A D | fork.c | 265 (void) close(STDOUT_FILENO); in fork_sulogin() 277 if (fd_console != STDOUT_FILENO) in fork_sulogin() 278 while (dup2(fd_console, STDOUT_FILENO) < 0 && in fork_sulogin()
|
H A D | log.c | 294 (void) dup2(fd, STDOUT_FILENO); in setlog() 297 if (fd != STDOUT_FILENO && fd != STDERR_FILENO) in setlog()
|
/titanic_44/usr/src/cmd/bart/ |
H A D | create.c | 132 if (dup2(output_pipe[0], STDOUT_FILENO) != STDOUT_FILENO) { in bart_create()
|
/titanic_44/usr/src/lib/krb5/plugins/kdb/db2/libdb2/include/ |
H A D | db-int.h | 269 #define STDOUT_FILENO 1 macro
|
/titanic_44/usr/src/lib/libxcurses/src/tic/ |
H A D | untic.c | 170 (void) setupterm(*argv, STDOUT_FILENO, &err);
|
/titanic_44/usr/src/cmd/ssh/ssh-http-proxy-connect/ |
H A D | ssh-http-proxy-connect.c | 272 if (proxy_read_write_loop(sock, STDOUT_FILENO) == 0) { in main()
|