/haiku-fatelf/src/bin/coreutils/lib/ |
H A D | freopen-safer.c | 74 if (dup2 (STDOUT_FILENO, STDOUT_FILENO) != STDOUT_FILENO) 77 case STDOUT_FILENO: 87 else if (protect_out && !protect_fd (STDOUT_FILENO)) 97 close (STDOUT_FILENO);
|
/haiku-fatelf/src/libs/ncurses/progs/ |
H A D | clear.c | 52 setupterm((char *) 0, STDOUT_FILENO, (int *) 0);
|
H A D | progs.priv.h | 115 #ifndef STDOUT_FILENO 116 #define STDOUT_FILENO 1 macro 148 #ifndef STDOUT_FILENO 149 #define STDOUT_FILENO 1 macro
|
/haiku-fatelf/src/libs/ncurses/ncurses/base/ |
H A D | lib_initscr.c | 78 dup2(fileno(fp), STDOUT_FILENO); local 79 stdout = fdopen(STDOUT_FILENO, "w");
|
/haiku-fatelf/src/tests/kits/net/sock/ |
H A D | global.h | 35 #define STDOUT_FILENO 1 macro
|
H A D | looptcp.c | 79 if (writen(STDOUT_FILENO, wbuf, ntowrite) != ntowrite) 82 if (writen(STDOUT_FILENO, rbuf, nread) != nread)
|
H A D | loopudp.c | 195 if (writen(STDOUT_FILENO, wbuf, ntowrite) != ntowrite) 198 if (writen(STDOUT_FILENO, rbuf, nread) != nread)
|
H A D | sock.h | 62 #define STDOUT_FILENO 1 macro
|
/haiku-fatelf/src/system/libroot/posix/unistd/ |
H A D | terminal.c | 36 char *name = ttyname(STDOUT_FILENO);
|
/haiku-fatelf/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-fatelf/src/bin/gdb/gdb/ |
H A D | ser-pipe.c | 87 if (pdes[1] != STDOUT_FILENO) 89 dup2 (pdes[1], STDOUT_FILENO); 92 dup2 (STDOUT_FILENO, STDIN_FILENO);
|
/haiku-fatelf/src/bin/coreutils/src/ |
H A D | nohup.c | 82 int out_fd = STDOUT_FILENO; 117 redirecting_stdout = isatty (STDOUT_FILENO); 147 ? fd_reopen (STDOUT_FILENO, file, flags, mode) 158 ? fd_reopen (STDOUT_FILENO, in_home, flags, mode)
|
H A D | dd.c | 442 In any other case, dd uses only the STDOUT_FILENO file descriptor, 443 and the "cleanup" function calls "close (STDOUT_FILENO)". 677 if (close (STDOUT_FILENO) < 0) 848 int old_flags = fcntl (STDOUT_FILENO, F_GETFL); 849 if (fcntl (STDOUT_FILENO, F_SETFL, old_flags & ~O_DIRECT) != 0) 859 off_t off = lseek (STDOUT_FILENO, 0, SEEK_CUR); 861 ignore_value (posix_fadvise (STDOUT_FILENO, 900 size_t nwritten = iwrite (STDOUT_FILENO, obuf, output_blocksize); 1642 uintmax_t write_records = skip (STDOUT_FILENO, output_file, 1650 if (iwrite (STDOUT_FILENO, obu [all...] |
H A D | cat.c | 148 /* Plain cat. Copies the file behind `input_desc' to STDOUT_FILENO. 186 if (full_write (STDOUT_FILENO, buf, n) != n) 192 /* Write any pending output to STDOUT_FILENO. 202 if (full_write (STDOUT_FILENO, outbuf, n_write) != n_write) 286 if (full_write (STDOUT_FILENO, wp, outsize) != outsize) 569 Normally STDOUT_FILENO is used rather than stdout, so 636 if (fstat (STDOUT_FILENO, &stat_buf) < 0) 663 if (O_BINARY && ! isatty (STDOUT_FILENO))
|
H A D | touch.c | 132 fd = STDOUT_FILENO; 168 : gl_futimens (fd, (fd == STDOUT_FILENO ? NULL : file), t)) == 0; 178 else if (fd == STDOUT_FILENO)
|
/haiku-fatelf/src/libs/bsd/ |
H A D | daemon.c | 60 dup2(fd, STDOUT_FILENO);
|
/haiku-fatelf/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-fatelf/src/apps/remotedesktop/ |
H A D | RemoteDesktop.cpp | 123 close(STDOUT_FILENO); 125 dup2(pipes[1], STDOUT_FILENO);
|
/haiku-fatelf/src/libs/fluidsynth/src/ |
H A D | fluid_io.c | 46 return STDOUT_FILENO;
|
/haiku-fatelf/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-fatelf/src/bin/fwcontrol/ |
H A D | fwmpegts.c | 175 fd = STDOUT_FILENO; 280 if (fd != STDOUT_FILENO)
|
/haiku-fatelf/src/libs/ncurses/test/ |
H A D | dots.c | 49 write(STDOUT_FILENO, &tmp, 1);
|
/haiku-fatelf/src/libs/ncurses/ncurses/tinfo/ |
H A D | lib_termcap.c | 77 _nc_setupterm((NCURSES_CONST char *) name, STDOUT_FILENO, &errcode, TRUE);
|
/haiku-fatelf/src/system/libroot/posix/stdio/ |
H A D | findfp.c | 74 std(__SWR, STDOUT_FILENO), /* stdout */
|
/haiku-fatelf/src/tests/system/kernel/ |
H A D | sigint_bug113_test.cpp | 75 printf("fg process group: %d\n", (int)tcgetpgrp(STDOUT_FILENO));
|