/titanic_41/usr/src/lib/libc/port/gen/ |
H A D | daemon.c | 94 if ((fd != STDERR_FILENO) && (dup2(fd, STDERR_FILENO) < 0)) { in daemon() 99 if (fd > STDERR_FILENO) in daemon()
|
/titanic_41/usr/src/cmd/zlogin/ |
H A D | zlogin.c | 882 if (process_output(stderr_fd, STDERR_FILENO) in doio() 967 (void) write(STDERR_FILENO, ibuf, cc); in doio() 1582 if (stdin_pipe[0] <= STDERR_FILENO || in noninteractive_login() 1583 stdin_pipe[1] <= STDERR_FILENO || in noninteractive_login() 1584 stdout_pipe[0] <= STDERR_FILENO || in noninteractive_login() 1585 stdout_pipe[1] <= STDERR_FILENO || in noninteractive_login() 1586 stderr_pipe[0] <= STDERR_FILENO || in noninteractive_login() 1587 stderr_pipe[1] <= STDERR_FILENO || in noninteractive_login() 1588 dead_child_pipe[0] <= STDERR_FILENO || in noninteractive_login() 1589 dead_child_pipe[1] <= STDERR_FILENO) { in noninteractive_login() [all …]
|
/titanic_41/usr/src/cmd/link/ |
H A D | link.c | 56 (void) write(STDERR_FILENO, use, strlen(use)); in main() 60 (void) write(STDERR_FILENO, use, strlen(use)); in main()
|
/titanic_41/usr/src/cmd/fs.d/nfs/lib/ |
H A D | daemon.c | 75 closefrom(STDERR_FILENO + 1); in daemonize_init() 125 (void) fcntl(fd, F_DUP2FD, STDERR_FILENO); in daemonize_fini()
|
/titanic_41/usr/src/lib/libtnfprobe/ |
H A D | debug_funcs.c | 98 (void) write(STDERR_FILENO, tmp_buf, strlen(tmp_buf)); in tnf_probe_debug() 186 (void) write(STDERR_FILENO, tmp_buf, strlen(tmp_buf)); in tnf_probe_debug()
|
/titanic_41/usr/src/lib/krb5/plugins/kdb/db2/libdb2/include/ |
H A D | db-int.h | 267 #ifndef STDERR_FILENO 270 #define STDERR_FILENO 2 macro
|
/titanic_41/usr/src/cmd/svc/startd/ |
H A D | fork.c | 266 (void) close(STDERR_FILENO); in fork_sulogin() 281 if (fd_console != STDERR_FILENO) in fork_sulogin() 282 while (dup2(fd_console, STDERR_FILENO) < 0 && in fork_sulogin() 285 if (fd_console > STDERR_FILENO) in fork_sulogin() 1130 STDERR_FILENO + 1); in fork_with_timeout()
|
H A D | log.c | 295 (void) dup2(fd, STDERR_FILENO); in setlog() 297 if (fd != STDOUT_FILENO && fd != STDERR_FILENO) in setlog()
|
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/pppoe/ |
H A D | logging.c | 93 if ((curlogfd != STDERR_FILENO) || (curfname != stderr_name)) in doclose() 274 curlogfd = STDERR_FILENO; in log_to_stderr()
|
/titanic_41/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_main.c | 214 (void) fcntl(fd, F_DUP2FD, STDERR_FILENO); in daemonize_fini() 282 closefrom(STDERR_FILENO + 1); in main()
|
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | in.rlogind.c | 277 fatalperror(STDERR_FILENO, "Error in socket"); in main() 289 fatalperror(STDERR_FILENO, "bind error"); in main() 293 fatalperror(STDERR_FILENO, "listen error"); in main() 298 fatalperror(STDERR_FILENO, "accept error"); in main() 313 fatalperror(STDERR_FILENO, "getpeername"); in main() 316 fatalperror(STDERR_FILENO, "audit"); in main() 1179 dup2(tt, STDERR_FILENO) == -1) in doit() 1203 fatalperror(STDERR_FILENO, "/bin/login"); in doit()
|
/titanic_41/usr/src/lib/libresolv2/common/resolv/ |
H A D | herror.c | 113 writev(STDERR_FILENO, iov, (v - iov) + 1); in herror()
|
/titanic_41/usr/src/lib/libpkg/common/ |
H A D | runcmd.c | 149 (void) dup2(i, STDERR_FILENO); in esystem() 399 (void) dup2(ipipe[1], STDERR_FILENO); in e_ExecCmdArray()
|
H A D | pkgexecv.c | 419 (void) dup2(STDOUT_FILENO, STDERR_FILENO); in pkgexecv()
|
/titanic_41/usr/src/lib/libinstzones/common/ |
H A D | zones_exec.c | 244 (void) dup2(ipipe[1], STDERR_FILENO); in z_ExecCmdArray() 489 (void) ioctl(STDERR_FILENO, I_ANCHOR); in _zexec() 842 (void) dup2(ipipe[1], STDERR_FILENO); in _z_zone_exec()
|
H A D | zones_utils.c | 157 a_fd == STDERR_FILENO) { in _z_close_file_descriptors()
|
/titanic_41/usr/src/ucbhead/ |
H A D | unistd.h | 120 #define STDERR_FILENO 2 macro
|
/titanic_41/usr/src/lib/libbc/inc/include/ |
H A D | unistd.h | 66 #define STDERR_FILENO 2 macro
|
/titanic_41/usr/src/cmd/ssh/include/ |
H A D | defines.h | 76 #ifndef STDERR_FILENO 77 #define STDERR_FILENO 2 macro
|
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/ |
H A D | rsh.c | 642 (void) write(STDERR_FILENO, s, strlen(s)); in main() 643 (void) write(STDERR_FILENO, "\r\n", 2); in main() 767 (void) write(STDERR_FILENO, buf, cc); in main()
|
/titanic_41/usr/src/lib/scsi/libsmp/common/ |
H A D | smp_subr.c | 61 (void) write(STDERR_FILENO, msg, strlen(msg)); in smp_assert()
|
/titanic_41/usr/src/cmd/mail/ |
H A D | main.c | 92 closefrom(STDERR_FILENO + 1); in main()
|
/titanic_41/usr/src/lib/krb5/plugins/kdb/db2/libdb2/hash/ |
H A D | hash_page.c | 1131 (void)write(STDERR_FILENO, OVMSG, sizeof(OVMSG) - 1); 1143 (void)write(STDERR_FILENO, OVMSG, sizeof(OVMSG) - 1); 1167 (void)write(STDERR_FILENO, 1195 (void)write(STDERR_FILENO, OVMSG, sizeof(OVMSG) - 1); 1229 (void)write(STDERR_FILENO, OVMSG, sizeof(OVMSG) - 1);
|
/titanic_41/usr/src/cmd/ssh/libopenbsd-compat/common/ |
H A D | readpassphrase.c | 85 output = STDERR_FILENO; in readpassphrase()
|
/titanic_41/usr/src/cmd/nohup/ |
H A D | nohup.c | 171 if (isatty(STDERR_FILENO)) { in main() 175 (void) dup2(fd, STDERR_FILENO); in main()
|