Searched refs:STDIN_FILENO (Results 1 - 19 of 19) sorted by relevance
/haiku/src/bin/ |
H A D | tty.c | 45 printf("%s\n", ttyname(STDIN_FILENO)); 48 return (isatty(STDIN_FILENO) ? 0 : 1);
|
/haiku/src/tests/add-ons/kernel/drivers/tty/ |
H A D | posix_openpt_test.cpp | 77 if (dup2(pts, STDIN_FILENO) != STDIN_FILENO 88 if (dup2(ptm, STDIN_FILENO) != STDIN_FILENO) {
|
/haiku/src/libs/bsd/ |
H A D | daemon.c | 59 dup2(fd, STDIN_FILENO);
|
H A D | readpassphrase.c | 72 input = STDIN_FILENO; 95 if (input != STDIN_FILENO && tcgetattr(input, &oterm) == 0) { 151 if (input != STDIN_FILENO)
|
/haiku/src/bin/network/ftpd/ |
H A D | popen.c | 143 if (pdes[0] != STDIN_FILENO) { 144 dup2(pdes[0], STDIN_FILENO);
|
/haiku/src/bin/multiuser/ |
H A D | multiuser_utils.cpp | 197 if (fcntl(STDIN_FILENO, F_GETFD) != -1) { 198 if (ioctl(STDIN_FILENO, TIOCSPGRP, &pid) != 0)
|
/haiku/src/apps/remotedesktop/ |
H A D | RemoteDesktop.cpp | 159 close(STDIN_FILENO); 162 dup2(pipes[2], STDIN_FILENO);
|
/haiku/src/bin/mail_utils/ |
H A D | mail.cpp | 80 bool isTerminal = isatty(STDIN_FILENO) != 0;
|
/haiku/src/add-ons/tracker/zipomatic/ |
H A D | ZipperThread.cpp | 282 int oldIn = dup(STDIN_FILENO); 299 dup2(inPipe[0], STDIN_FILENO); 318 dup2(oldIn, STDIN_FILENO);
|
/haiku/src/apps/text_search/ |
H A D | Grepper.cpp | 283 oldStdIn = dup(STDIN_FILENO); 296 dup2(fds[0], STDIN_FILENO); 333 close(STDIN_FILENO);
|
/haiku/src/bin/screenmode/ |
H A D | screenmode.cpp | 341 int flags = fcntl(STDIN_FILENO, F_GETFL, 0); 342 fcntl(STDIN_FILENO, F_SETFL, flags | O_NONBLOCK);
|
/haiku/src/tests/system/network/multicast/ |
H A D | multisend.c | 77 while ((len = read(STDIN_FILENO, buf, sizeof(buf))) > 0) {
|
/haiku/src/tools/ |
H A D | elf2aout.c | 288 fd = STDIN_FILENO;
|
/haiku/src/servers/net/ |
H A D | Services.cpp | 437 dup2(socket, STDIN_FILENO);
|
/haiku/headers/posix/ |
H A D | unistd.h | 23 #define STDIN_FILENO 0 macro
|
/haiku/src/apps/poorman/libhttpd/ |
H A D | libhttpd.c | 90 #ifndef STDIN_FILENO 91 #define STDIN_FILENO 0 macro 3432 if ( hc->conn_fd == STDIN_FILENO || hc->conn_fd == STDOUT_FILENO || hc->conn_fd == STDERR_FILENO ) 3481 if ( p[0] != STDIN_FILENO ) 3483 (void) dup2( p[0], STDIN_FILENO ); 3490 if ( hc->conn_fd != STDIN_FILENO ) 3491 (void) dup2( hc->conn_fd, STDIN_FILENO );
|
/haiku/headers/private/fs_shell/ |
H A D | fssh_api_wrapper.h | 1655 #define STDIN_FILENO FSSH_STDIN_FILENO macro
|
/haiku/src/servers/launch/ |
H A D | LaunchDaemon.cpp | 2147 open_stdio(STDIN_FILENO, O_RDONLY);
|
/haiku/src/bin/network/ping/ |
H A D | ping6.c | 1071 if (caph_rights_limit(STDIN_FILENO, &rights_stdin) < 0)
|
Completed in 139 milliseconds