/titanic_41/usr/src/cmd/cmd-inet/usr.bin/ |
H A D | rlogin.c | 239 (void) ioctl(STDIN_FILENO, I_POP, 0); in pop() 241 (void) tcsetattr(STDIN_FILENO, TCSANOW, &savetty); in pop() 307 if ((getattr_ret = tcgetattr(STDIN_FILENO, &savetty)) < 0) in main() 309 it = ioctl(STDIN_FILENO, I_FIND, "ttcompat"); in main() 315 if (ioctl(STDIN_FILENO, I_PUSH, "ttcompat") < 0) { in main() 768 if (ioctl(STDIN_FILENO, TIOCGETP, (char *)&sb) == -1) in doit() 775 if (ioctl(STDIN_FILENO, TIOCLGET, (char *)&deflflags) == -1) in doit() 777 if (ioctl(STDIN_FILENO, TIOCGETC, (char *)&deftc) == -1) in doit() 781 if (ioctl(STDIN_FILENO, TIOCGLTC, (char *)&defltc) == -1) in doit() 911 if (ioctl(STDIN_FILENO, TIOCGWINSZ, &winsize) == 0) in writeroob() [all …]
|
/titanic_41/usr/src/cmd/tcpd/ |
H A D | try-from.c | 29 #ifndef STDIN_FILENO 30 #define STDIN_FILENO 0 macro 66 request_init(&request, RQ_DAEMON, argv[0], RQ_FILE, STDIN_FILENO, 0);
|
H A D | tcpd.c | 32 #ifndef STDIN_FILENO 33 #define STDIN_FILENO 0 macro 86 request_init(&request, RQ_DAEMON, argv[0], RQ_FILE, STDIN_FILENO, 0);
|
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/in.discardd/ |
H A D | in.discardd.c | 68 dg_template(noop, STDIN_FILENO, NULL, 0); in main() 71 discard_stream(STDIN_FILENO, argv); in main()
|
/titanic_41/usr/src/lib/libc/port/gen/ |
H A D | daemon.c | 86 if ((fd != STDIN_FILENO) && (dup2(fd, STDIN_FILENO) < 0)) { in daemon()
|
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/in.daytimed/ |
H A D | in.daytimed.c | 79 dg_template(daytime_dg, STDIN_FILENO, NULL, 0); in main() 82 (void) safe_write(STDIN_FILENO, daytime(), TIMEBUF_SIZE); in main()
|
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/in.echod/ |
H A D | in.echod.c | 70 dg_template(echo_dg, STDIN_FILENO, buf, sizeof (buf)); in main() 73 echo_stream(STDIN_FILENO, argv); in main()
|
/titanic_41/usr/src/cmd/zlogin/ |
H A D | zlogin.c | 343 if (tcgetattr(STDIN_FILENO, &save_termios) == -1) { in get_master_pty() 347 (void) ioctl(STDIN_FILENO, TIOCGWINSZ, (char *)&winsize); in get_master_pty() 486 if (tcsetattr(STDIN_FILENO, TCSAFLUSH, &term)) { in set_tty_rawmode() 500 if (tcgetattr(STDIN_FILENO, &effective_termios) < 0) { in set_tty_rawmode() 617 nbytes = read(STDIN_FILENO, ibuf, ZLOGIN_RDBUFSIZ); in process_user_input() 734 cc = read(STDIN_FILENO, ibuf, ZLOGIN_RDBUFSIZ); in process_raw_input() 828 pollfds[2].fd = STDIN_FILENO; in doio() 1615 (void) close(STDIN_FILENO); in noninteractive_login() 1618 (void) dup2(stdin_pipe[1], STDIN_FILENO); in noninteractive_login() 1629 (void) ioctl(STDIN_FILENO, I_ANCHOR); in noninteractive_login() [all …]
|
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/in.timed/ |
H A D | in.timed.c | 86 dg_template(machtime_dg, STDIN_FILENO, NULL, 0); in main() 89 machtime_stream(STDIN_FILENO); in main()
|
/titanic_41/usr/src/lib/libpkg/common/ |
H A D | pkgexecv.c | 350 if (isatty(STDIN_FILENO)) { in pkgexecv() 356 (void) dup2(n, STDIN_FILENO); in pkgexecv() 366 (void) dup2(n, STDIN_FILENO); in pkgexecv()
|
H A D | runcmd.c | 140 (void) dup2(ifd, STDIN_FILENO); in esystem() 396 (void) dup2(stdinfile, STDIN_FILENO); in e_ExecCmdArray()
|
/titanic_41/usr/src/cmd/ssh/libopenbsd-compat/common/ |
H A D | readpassphrase.c | 84 input = STDIN_FILENO; in readpassphrase() 107 if (input != STDIN_FILENO && tcgetattr(input, &oterm) == 0) { in readpassphrase() 155 if (input != STDIN_FILENO) in readpassphrase()
|
/titanic_41/usr/src/cmd/tsol/atohexlabel/ |
H A D | atohexlabel.c | 120 if ((c = read(STDIN_FILENO, ascii, sizeof (ascii))) <= 0) { in main() 134 (void) ioctl(STDIN_FILENO, I_FLUSH, FLUSHR); in main()
|
/titanic_41/usr/src/cmd/tsol/hextoalabel/ |
H A D | hextoalabel.c | 119 if ((c = read(STDIN_FILENO, hex, sizeof (hex))) <= 0) { in main() 134 (void) ioctl(STDIN_FILENO, I_FLUSH, FLUSHR); in main()
|
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/in.chargend/ |
H A D | in.chargend.c | 140 dg_template(chargen_dg, STDIN_FILENO, NULL, 0); in main() 143 chargen_stream(STDIN_FILENO, argv); in main()
|
/titanic_41/usr/src/cmd/streams/strcmd/ |
H A D | strconf.c | 136 if ((i = ioctl(STDIN_FILENO, I_LIST, NULL)) < 0) { in main() 150 if (ioctl(STDIN_FILENO, I_LIST, &strlist) < 0) { in main()
|
/titanic_41/usr/src/cmd/tsol/lslabels/ |
H A D | lslabels.c | 183 if ((c = read(STDIN_FILENO, ascii, sizeof (ascii))) <= 0) { in main() 197 (void) ioctl(STDIN_FILENO, I_FLUSH, FLUSHR); in main()
|
/titanic_41/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_shell.c | 190 (void) close(STDIN_FILENO); in mdb_shell_pipe() 191 (void) dup2(pfds[0], STDIN_FILENO); in mdb_shell_pipe()
|
/titanic_41/usr/src/cmd/ssh/ssh-http-proxy-connect/ |
H A D | ssh-http-proxy-connect.c | 248 fds[0].fd = STDIN_FILENO; /* Poll stdin for data. */ in main() 261 if (proxy_read_write_loop(STDIN_FILENO, sock) == 0) { in main()
|
/titanic_41/usr/src/cmd/ssh/ssh-keysign/ |
H A D | ssh-keysign.c | 227 if (ssh_msg_recv(STDIN_FILENO, &b) < 0) in main() 232 if ((fd == STDIN_FILENO) || (fd == STDOUT_FILENO)) in main()
|
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/wanboot/encr/ |
H A D | encr.c | 158 while ((i = read(STDIN_FILENO, buf, read_size)) > 0) { in encr_gen() 178 while ((j = read(STDIN_FILENO, bufp, j)) != k && in encr_gen()
|
/titanic_41/usr/src/cmd/ipf/svc/ |
H A D | ipfd.c | 125 (void) close(STDIN_FILENO); in daemonize_self() 130 } else if (fd != STDIN_FILENO) { in daemonize_self() 131 (void) dup2(fd, STDIN_FILENO); in daemonize_self()
|
/titanic_41/usr/src/cmd/ssh/ssh-socks5-proxy-connect/ |
H A D | ssh-socks5-proxy-connect.c | 346 fds[0].fd = STDIN_FILENO; /* Poll stdin for data. */ in main() 359 if (proxy_read_write_loop(STDIN_FILENO, sock) == 0) { in main()
|
/titanic_41/usr/src/cmd/powertop/common/ |
H A D | powertop.c | 267 pollset.fd = STDIN_FILENO; in main() 293 (void) read(STDIN_FILENO, &key, 1); in main()
|
/titanic_41/usr/src/cmd/drd/ |
H A D | drd.c | 167 (void) close(STDIN_FILENO); in drd_daemonize() 169 (void) dup2(STDIN_FILENO, STDOUT_FILENO); in drd_daemonize()
|