/freebsd-13-stable/usr.bin/talk/ |
H A D | init_disp.c | 199 if (ioctl(STDIN_FILENO, TIOCGWINSZ, &ws) < 0 ||
|
/freebsd-13-stable/sbin/bectl/ |
H A D | bectl.c | 335 if (isatty(STDIN_FILENO)) { 340 err = be_import(be, bootenv, STDIN_FILENO);
|
/freebsd-13-stable/contrib/netbsd-tests/lib/libc/gen/posix_spawn/ |
H A D | t_fileactions.c | 234 posix_spawn_file_actions_addopen(&fa, STDIN_FILENO, 283 posix_spawn_file_actions_addopen(&fa, STDIN_FILENO,
|
/freebsd-13-stable/contrib/bc/src/ |
H A D | history.c | 335 ret = read(STDIN_FILENO, buf, n); 443 if (BC_ERR(tcgetattr(STDIN_FILENO, &h->orig_termios) == -1)) 471 err = tcsetattr(STDIN_FILENO, TCSAFLUSH, &raw); 490 if (BC_ERR(tcsetattr(STDIN_FILENO, TCSAFLUSH, &h->orig_termios) != -1)) 1301 (ioctl(STDIN_FILENO, FIONREAD, &n) >= 0 && n > 0); 1404 FD_SET(STDIN_FILENO, &h->rdset);
|
/freebsd-13-stable/contrib/llvm-project/lldb/tools/driver/ |
H A D | Driver.cpp | 103 ::tcsetattr(STDIN_FILENO, TCSANOW, &g_old_stdin_termios); 464 if (::tcgetattr(STDIN_FILENO, &g_old_stdin_termios) == 0) { 485 if ((isatty(STDIN_FILENO) != 0) && 486 ::ioctl(STDIN_FILENO, TIOCGWINSZ, &window_size) == 0) { 690 if ((isatty(STDIN_FILENO) != 0) && 691 ::ioctl(STDIN_FILENO, TIOCGWINSZ, &window_size) == 0) {
|
/freebsd-13-stable/crypto/heimdal/appl/rsh/ |
H A D | rsh.c | 99 FD_SET(STDIN_FILENO, &real_readset); 138 if (FD_ISSET(STDIN_FILENO, &readset)) { 139 ret = read (STDIN_FILENO, buf, sizeof(buf)); 143 close (STDIN_FILENO); 144 FD_CLR(STDIN_FILENO, &real_readset);
|
H A D | rshd.c | 521 dup2 (p0[0], STDIN_FILENO); 535 rshd_loop (STDIN_FILENO, p0[1], 611 int s = STDIN_FILENO; 872 if(isatty(STDIN_FILENO))
|
/freebsd-13-stable/sbin/recoverdisk/ |
H A D | recoverdisk.c | 154 if (!isatty(STDIN_FILENO) || ioctl(STDIN_FILENO, TIOCGWINSZ, &wsz)) 279 j = ioctl(STDIN_FILENO, TIOCGWINSZ, &wsz);
|
/freebsd-13-stable/bin/dd/ |
H A D | dd.c | 152 in.fd = STDIN_FILENO; 216 if (in.fd != STDIN_FILENO && out.fd != STDIN_FILENO) {
|
/freebsd-13-stable/bin/pax/ |
H A D | ar_io.c | 120 arfd = STDIN_FILENO; 1275 dup2(fds[0], STDIN_FILENO); 1280 dup2(fd, STDIN_FILENO);
|
/freebsd-13-stable/contrib/apr/threadproc/unix/ |
H A D | proc.c | 428 close(STDIN_FILENO); 431 attr->child_in->filedes != STDIN_FILENO) { 432 dup2(attr->child_in->filedes, STDIN_FILENO);
|
/freebsd-13-stable/contrib/nvi/ex/ |
H A D | ex_script.c | 105 if (tcgetattr(STDIN_FILENO, &sc->sh_term) == -1) { 116 if (ioctl(STDIN_FILENO, TIOCGWINSZ, &sc->sh_win) == -1) { 160 (void)dup2(sc->sh_slave, STDIN_FILENO);
|
H A D | ex_filter.c | 121 (void)dup2(input[0], STDIN_FILENO);
|
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_posix_libcdep.cpp | 456 internal_close(STDIN_FILENO); 457 internal_dup2(stdin_fd, STDIN_FILENO);
|
/freebsd-13-stable/contrib/diff/src/ |
H A D | util.c | 213 if (pipes[0] != STDIN_FILENO) 215 if (dup2 (pipes[0], STDIN_FILENO) < 0)
|
/freebsd-13-stable/crypto/openssh/ |
H A D | defines.h | 133 #ifndef STDIN_FILENO 134 # define STDIN_FILENO 0 macro
|
H A D | ssh-add.c | 204 fd = STDIN_FILENO; 215 if (fd != STDIN_FILENO) {
|
/freebsd-13-stable/usr.sbin/ppp/ |
H A D | exec.c | 334 dup2(fids[1], STDIN_FILENO); 390 else if (p->fd == STDIN_FILENO) {
|
/freebsd-13-stable/usr.sbin/prometheus_sysctl_exporter/ |
H A D | prometheus_sysctl_exporter.c | 649 if (shutdown(STDIN_FILENO, SHUT_WR) == 0) { 652 while (read(STDIN_FILENO, buf, sizeof(buf)) > 0) {
|
/freebsd-13-stable/usr.bin/calendar/ |
H A D | io.c | 676 if (pdes[0] != STDIN_FILENO) { 677 (void)dup2(pdes[0], STDIN_FILENO);
|
/freebsd-13-stable/usr.bin/diff/ |
H A D | diff.c | 344 fstat(STDIN_FILENO, &stb1); 354 fstat(STDIN_FILENO, &stb2);
|
/freebsd-13-stable/crypto/heimdal/appl/kf/ |
H A D | kfd.c | 288 return proto (STDIN_FILENO, service);
|
/freebsd-13-stable/crypto/heimdal/appl/telnet/telnetd/ |
H A D | telnetd.c | 433 if (getpeername(STDIN_FILENO, sa, &sa_size) < 0) { 439 setsockopt(STDIN_FILENO, SOL_SOCKET, SO_KEEPALIVE, 455 && (setsockopt(STDIN_FILENO, IPPROTO_IP, IP_TOS, 461 net = STDIN_FILENO;
|
/freebsd-13-stable/contrib/libucl/tests/ |
H A D | test_basic.c | 108 fd_in = STDIN_FILENO;
|
/freebsd-13-stable/contrib/bc/include/ |
H A D | bcl.h | 162 #define STDIN_FILENO (0) macro
|