Searched refs:STDOUT_FILENO (Results 1 - 25 of 30) sorted by path

12

/haiku/src/bin/
H A Dcatattr.cpp185 written = write(STDOUT_FILENO, buffer, bytesRead);
H A Dmountvolume.cpp534 if (isatty(STDOUT_FILENO)) {
536 if (ioctl(STDOUT_FILENO, TIOCGWINSZ, &size, sizeof(winsize)) == 0) {
/haiku/src/bin/debug/time_stats/
H A Dtiming_analysis.cpp167 dup2(outFD, STDOUT_FILENO);
182 bool highlight = info.thread == child && isatty(STDOUT_FILENO);
/haiku/src/bin/fwcontrol/
H A Dfwdv.c119 fd = STDOUT_FILENO;
259 if (fd != STDOUT_FILENO)
H A Dfwmpegts.c175 fd = STDOUT_FILENO;
280 if (fd != STDOUT_FILENO)
/haiku/src/kits/shared/
H A DCommandPipe.cpp119 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 Ddaemon.c60 dup2(fd, STDOUT_FILENO);
/haiku/src/servers/launch/
H A DBaseJob.cpp210 close(STDOUT_FILENO);
212 dup2(pipes[1], STDOUT_FILENO);
/haiku/src/system/libnetwork/netresolv/resolv/
H A Dres_state.c84 (void)write(STDOUT_FILENO, buf, (size_t)len);
/haiku/src/system/libroot/posix/unistd/
H A Dterminal.c36 char *name = ttyname(STDOUT_FILENO);
/haiku/src/tests/add-ons/kernel/drivers/tty/
H A Dposix_openpt_test.cpp78 || dup2(pts, STDOUT_FILENO) != STDOUT_FILENO
96 write(STDOUT_FILENO, buf, n);
/haiku/src/tests/system/kernel/
H A Dsigint_bug113_test.cpp75 printf("fg process group: %d\n", (int)tcgetpgrp(STDOUT_FILENO));
/haiku/src/tests/system/network/multicast/
H A Dmulticat.c83 int out_fd = STDOUT_FILENO;
202 if (!dump_packets && out_fd != STDOUT_FILENO)
/haiku/headers/posix/
H A Dunistd.h24 #define STDOUT_FILENO 1 macro
/haiku/headers/private/fs_shell/
H A Dfssh_api_wrapper.h1656 #define STDOUT_FILENO FSSH_STDOUT_FILENO macro
/haiku/src/add-ons/tracker/zipomatic/
H A DZipperThread.cpp283 int oldOut = dup(STDOUT_FILENO);
301 dup2(outPipe[1], STDOUT_FILENO);
320 dup2(oldOut, STDOUT_FILENO);
/haiku/src/apps/poorman/libhttpd/
H A Dlibhttpd.c93 #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 );
/haiku/src/apps/remotedesktop/
H A DRemoteDesktop.cpp158 close(STDOUT_FILENO);
160 dup2(pipes[1], STDOUT_FILENO);
/haiku/src/apps/softwareupdater/
H A DCheckManager.cpp215 if (ioctl(STDOUT_FILENO, TIOCGWINSZ, &winSize) == 0
254 ioctl(STDOUT_FILENO, TIOCGWINSZ, &w);
H A DUpdateManager.cpp279 if (ioctl(STDOUT_FILENO, TIOCGWINSZ, &winSize) == 0
325 ioctl(STDOUT_FILENO, TIOCGWINSZ, &w);
/haiku/src/apps/text_search/
H A DGrepper.cpp284 oldStdOut = dup(STDOUT_FILENO);
309 dup2(fds[1], STDOUT_FILENO);
336 close(STDOUT_FILENO);
/haiku/src/bin/debug/strace/
H A Dstrace.cpp745 colorize = colorize && isatty(STDOUT_FILENO);
/haiku/src/bin/network/ftpd/
H A Dpopen.c136 if (pdes[1] != STDOUT_FILENO) {
137 dup2(pdes[1], STDOUT_FILENO);
140 dup2(STDOUT_FILENO, STDERR_FILENO); /* stderr too! */
/haiku/src/bin/network/ping/
H A Dping.c1023 (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 Dping6.c1276 (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);

Completed in 193 milliseconds

12