Home
last modified time | relevance | path

Searched refs:STDOUT_FILENO (Results 1 – 25 of 78) sorted by relevance

1234

/titanic_44/usr/src/lib/libpkg/common/
H A Dpkgexecv.c385 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 Druncmd.c143 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 Dprogressmeter.c86 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 Dentropy.c85 dup2(p[1], STDOUT_FILENO); in seed_rng()
H A Dreadpass.c65 if (dup2(p[1], STDOUT_FILENO) < 0) in ssh_askpass()
/titanic_44/usr/src/lib/libc/port/gen/
H A Ddaemon.c90 if ((fd != STDOUT_FILENO) && (dup2(fd, STDOUT_FILENO) < 0)) { in daemon()
/titanic_44/usr/src/cmd/enhance/
H A Denhance.c159 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 Dconf.c77 (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 Dzlogin.c642 (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 Dssh-keysign.c232 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 Dencr.c148 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 Dextern.h39 if (write(STDOUT_FILENO, p, size) != (ssize_t)size) \
/titanic_44/usr/src/cmd/fs.d/nfs/lib/
H A Ddaemon.c124 (void) fcntl(fd, F_DUP2FD, STDOUT_FILENO); in daemonize_fini()
/titanic_44/usr/src/cmd/projects/
H A Dprojects.c140 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 Dzones_exec.c243 (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 Dunistd.h118 #define STDOUT_FILENO 1 macro
/titanic_44/usr/src/lib/libbc/inc/include/
H A Dunistd.h65 #define STDOUT_FILENO 1 macro
/titanic_44/usr/src/cmd/ssh/include/
H A Ddefines.h72 #ifndef STDOUT_FILENO
73 #define STDOUT_FILENO 1 macro
/titanic_44/usr/src/cmd/cmd-inet/usr.lib/wanboot/hmac/
H A Dhmac.c88 if (wbio_nwrite(STDOUT_FILENO, digest, sizeof (digest)) != 0) { in hash_gen()
/titanic_44/usr/src/cmd/svc/startd/
H A Dfork.c265 (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 Dlog.c294 (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 Dcreate.c132 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 Ddb-int.h269 #define STDOUT_FILENO 1 macro
/titanic_44/usr/src/lib/libxcurses/src/tic/
H A Duntic.c170 (void) setupterm(*argv, STDOUT_FILENO, &err);
/titanic_44/usr/src/cmd/ssh/ssh-http-proxy-connect/
H A Dssh-http-proxy-connect.c272 if (proxy_read_write_loop(sock, STDOUT_FILENO) == 0) { in main()

1234