Home
last modified time | relevance | path

Searched refs:STDERR_FILENO (Results 1 – 25 of 66) sorted by relevance

123

/titanic_41/usr/src/lib/libc/port/gen/
H A Ddaemon.c94 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 Dzlogin.c882 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 Dlink.c56 (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 Ddaemon.c75 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 Ddebug_funcs.c98 (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 Ddb-int.h267 #ifndef STDERR_FILENO
270 #define STDERR_FILENO 2 macro
/titanic_41/usr/src/cmd/svc/startd/
H A Dfork.c266 (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 Dlog.c295 (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 Dlogging.c93 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 Dfmd_main.c214 (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 Din.rlogind.c277 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 Dherror.c113 writev(STDERR_FILENO, iov, (v - iov) + 1); in herror()
/titanic_41/usr/src/lib/libpkg/common/
H A Druncmd.c149 (void) dup2(i, STDERR_FILENO); in esystem()
399 (void) dup2(ipipe[1], STDERR_FILENO); in e_ExecCmdArray()
H A Dpkgexecv.c419 (void) dup2(STDOUT_FILENO, STDERR_FILENO); in pkgexecv()
/titanic_41/usr/src/lib/libinstzones/common/
H A Dzones_exec.c244 (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 Dzones_utils.c157 a_fd == STDERR_FILENO) { in _z_close_file_descriptors()
/titanic_41/usr/src/ucbhead/
H A Dunistd.h120 #define STDERR_FILENO 2 macro
/titanic_41/usr/src/lib/libbc/inc/include/
H A Dunistd.h66 #define STDERR_FILENO 2 macro
/titanic_41/usr/src/cmd/ssh/include/
H A Ddefines.h76 #ifndef STDERR_FILENO
77 #define STDERR_FILENO 2 macro
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/
H A Drsh.c642 (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 Dsmp_subr.c61 (void) write(STDERR_FILENO, msg, strlen(msg)); in smp_assert()
/titanic_41/usr/src/cmd/mail/
H A Dmain.c92 closefrom(STDERR_FILENO + 1); in main()
/titanic_41/usr/src/lib/krb5/plugins/kdb/db2/libdb2/hash/
H A Dhash_page.c1131 (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 Dreadpassphrase.c85 output = STDERR_FILENO; in readpassphrase()
/titanic_41/usr/src/cmd/nohup/
H A Dnohup.c171 if (isatty(STDERR_FILENO)) { in main()
175 (void) dup2(fd, STDERR_FILENO); in main()

123