/haiku/src/tests/add-ons/kernel/drivers/tty/ |
H A D | posix_openpt_test.cpp | 78 || dup2(pts, STDOUT_FILENO) != STDOUT_FILENO 96 write(STDOUT_FILENO, buf, n);
|
/haiku/src/system/libroot/posix/unistd/ |
H A D | terminal.c | 36 char *name = ttyname(STDOUT_FILENO);
|
/haiku/src/kits/shared/ |
H A D | CommandPipe.cpp | 119 oldStdOut = dup(STDOUT_FILENO); 121 close(STDOUT_FILENO); 124 dup2(stdOutAndErr[1], STDOUT_FILENO); 135 dup2(oldStdOut, STDOUT_FILENO); 153 oldStdOut = dup(STDOUT_FILENO); 155 close(STDOUT_FILENO); 157 dup2(stdOut[1], STDOUT_FILENO); 168 dup2(oldStdOut, STDOUT_FILENO);
|
/haiku/src/libs/bsd/ |
H A D | daemon.c | 60 dup2(fd, STDOUT_FILENO);
|
/haiku/src/bin/network/ftpd/ |
H A D | popen.c | 136 if (pdes[1] != STDOUT_FILENO) { 137 dup2(pdes[1], STDOUT_FILENO); 140 dup2(STDOUT_FILENO, STDERR_FILENO); /* stderr too! */
|
/haiku/src/bin/debug/time_stats/ |
H A D | timing_analysis.cpp | 167 dup2(outFD, STDOUT_FILENO); 182 bool highlight = info.thread == child && isatty(STDOUT_FILENO);
|
/haiku/src/bin/fwcontrol/ |
H A D | fwmpegts.c | 175 fd = STDOUT_FILENO; 280 if (fd != STDOUT_FILENO)
|
H A D | fwdv.c | 119 fd = STDOUT_FILENO; 259 if (fd != STDOUT_FILENO)
|
/haiku/src/servers/launch/ |
H A D | BaseJob.cpp | 210 close(STDOUT_FILENO); 212 dup2(pipes[1], STDOUT_FILENO);
|
/haiku/src/apps/remotedesktop/ |
H A D | RemoteDesktop.cpp | 158 close(STDOUT_FILENO); 160 dup2(pipes[1], STDOUT_FILENO);
|
/haiku/src/system/libnetwork/netresolv/resolv/ |
H A D | res_state.c | 84 (void)write(STDOUT_FILENO, buf, (size_t)len);
|
/haiku/src/add-ons/tracker/zipomatic/ |
H A D | ZipperThread.cpp | 283 int oldOut = dup(STDOUT_FILENO); 301 dup2(outPipe[1], STDOUT_FILENO); 320 dup2(oldOut, STDOUT_FILENO);
|
/haiku/src/tests/system/kernel/ |
H A D | sigint_bug113_test.cpp | 75 printf("fg process group: %d\n", (int)tcgetpgrp(STDOUT_FILENO));
|
/haiku/src/apps/softwareupdater/ |
H A D | CheckManager.cpp | 215 if (ioctl(STDOUT_FILENO, TIOCGWINSZ, &winSize) == 0 254 ioctl(STDOUT_FILENO, TIOCGWINSZ, &w);
|
H A D | UpdateManager.cpp | 279 if (ioctl(STDOUT_FILENO, TIOCGWINSZ, &winSize) == 0 325 ioctl(STDOUT_FILENO, TIOCGWINSZ, &w);
|
/haiku/src/apps/text_search/ |
H A D | Grepper.cpp | 284 oldStdOut = dup(STDOUT_FILENO); 309 dup2(fds[1], STDOUT_FILENO); 336 close(STDOUT_FILENO);
|
/haiku/src/tests/system/network/multicast/ |
H A D | multicat.c | 83 int out_fd = STDOUT_FILENO; 202 if (!dump_packets && out_fd != STDOUT_FILENO)
|
/haiku/src/bin/pkgman/ |
H A D | PackageManager.cpp | 176 fShowProgress = isatty(STDOUT_FILENO); 213 if (ioctl(STDOUT_FILENO, TIOCGWINSZ, &winSize) == 0)
|
/haiku/src/bin/ |
H A D | mountvolume.cpp | 534 if (isatty(STDOUT_FILENO)) { 536 if (ioctl(STDOUT_FILENO, TIOCGWINSZ, &size, sizeof(winsize)) == 0) {
|
H A D | catattr.cpp | 185 written = write(STDOUT_FILENO, buffer, bytesRead);
|
/haiku/src/bin/network/ping/ |
H A D | ping.c | 1023 (void)write(STDOUT_FILENO, &BBELL, 1); 1118 (void)write(STDOUT_FILENO, &DOT[DOTidx++ % DOTlen], 1); 1241 (void)write(STDOUT_FILENO, &BSPACE, 1); 1251 (void)write(STDOUT_FILENO, &BBELL, 1);
|
H A D | ping6.c | 1276 (void)write(STDOUT_FILENO, &BBELL, 1); 1453 (void)write(STDOUT_FILENO, &DOT[DOTidx++ % DOTlen], 1); 1651 (void)write(STDOUT_FILENO, &BSPACE, 1); 1654 (void)write(STDOUT_FILENO, &BBELL, 1);
|
/haiku/src/servers/net/ |
H A D | Services.cpp | 438 dup2(socket, STDOUT_FILENO);
|
/haiku/headers/posix/ |
H A D | unistd.h | 24 #define STDOUT_FILENO 1 macro
|
/haiku/src/apps/poorman/libhttpd/ |
H A D | libhttpd.c | 93 #ifndef STDOUT_FILENO 94 #define STDOUT_FILENO 1 macro 3432 if ( hc->conn_fd == STDIN_FILENO || hc->conn_fd == STDOUT_FILENO || hc->conn_fd == STDERR_FILENO ) 3526 if ( p[1] != STDOUT_FILENO ) 3527 (void) dup2( p[1], STDOUT_FILENO ); 3530 if ( p[1] != STDOUT_FILENO && p[1] != STDERR_FILENO ) 3536 if ( hc->conn_fd != STDOUT_FILENO ) 3537 (void) dup2( hc->conn_fd, STDOUT_FILENO );
|