Searched refs:STDERR_FILENO (Results 1 - 25 of 63) sorted by relevance

123

/external/bison/lib/
H A Ddup-safer.c28 STDERR_FILENO. */
33 return fcntl (fd, F_DUPFD, STDERR_FILENO + 1);
H A Ddup-safer-flag.c30 STDERR_FILENO. If FLAG contains O_CLOEXEC, behave like
37 STDERR_FILENO + 1);
H A Dfd-safer-flag.c42 if (STDIN_FILENO <= fd && fd <= STDERR_FILENO)
H A Dfd-safer.c39 if (STDIN_FILENO <= fd && fd <= STDERR_FILENO)
H A Dfopen-safer.c39 if (0 <= fd && fd <= STDERR_FILENO)
H A Dspawn-pipe.c159 orig_stderr = dup_safer_noinherit (STDERR_FILENO);
170 && (nulloutfd == STDERR_FILENO
171 || (dup2 (nulloutfd, STDERR_FILENO) >= 0
220 undup_safer_noinherit (orig_stderr, STDERR_FILENO);
308 STDERR_FILENO,
H A Dw32spawn.h49 descriptor is none of STDIN_FILENO, STDOUT_FILENO, STDERR_FILENO.
56 if (STDIN_FILENO <= fd && fd <= STDERR_FILENO)
69 result is none of STDIN_FILENO, STDOUT_FILENO, STDERR_FILENO.
/external/openssh/openbsd-compat/
H A Ddaemon.c74 (void)dup2(fd, STDERR_FILENO);
H A Dreadpassphrase.c87 output = STDERR_FILENO;
/external/dropbear/
H A Dcompat.c183 (void)dup2(fd, STDERR_FILENO);
184 if (fd > STDERR_FILENO)
H A Dcli-session.c118 cli_ses.stderrcopy = dup(STDERR_FILENO);
119 cli_ses.stderrflags = fcntl(STDERR_FILENO, F_GETFL, 0);
H A Dcli-chansession.c350 channel->errfd = STDERR_FILENO;
351 setnonblocking(STDERR_FILENO);
/external/chromium/sdch/open-vcdiff/src/gtest/
H A Dgtest-port.cc97 uncaptured_fd_ = dup(STDERR_FILENO);
103 dup2(captured_fd, STDERR_FILENO);
115 dup2(uncaptured_fd_, STDERR_FILENO);
/external/llvm/lib/Support/
H A Draw_ostream.cpp53 #ifndef STDERR_FILENO
54 # define STDERR_FILENO 2 macro
484 if (fd == STDOUT_FILENO || fd == STDERR_FILENO)
682 static raw_fd_ostream S(STDERR_FILENO, false, true);
/external/dhcpcd/
H A Dbind.c92 dup2(fd, STDERR_FILENO);
93 if (fd > STDERR_FILENO)
/external/libppp/src/
H A Dmain.c315 * STDERR_FILENO are always open. These are closed before DoLoop(),
506 close(STDERR_FILENO);
516 close(STDERR_FILENO);
520 close(STDERR_FILENO);
H A Dexec.c334 dup2(fids[1], STDERR_FILENO);
335 for (i = getdtablesize(); i > STDERR_FILENO; i--)
/external/oprofile/libutil++/
H A Dchild_reader.cpp87 dup2(pstderr[1], STDERR_FILENO);
/external/llvm/lib/Support/Unix/
H A DProcess.inc202 return FileDescriptorIsDisplayed(STDERR_FILENO);
273 return FileDescriptorHasColors(STDERR_FILENO);
/external/protobuf/src/google/protobuf/compiler/
H A Dsubprocess.cc322 // Write directly to STDERR_FILENO to avoid stdio code paths that may do
324 write(STDERR_FILENO, argv[0], strlen(argv[0]));
326 write(STDERR_FILENO, message, strlen(message));
/external/chromium/base/
H A Dprocess_util_posix.cc133 write(STDERR_FILENO, buf, std::min(len, sizeof(buf) - 1));
144 write(STDERR_FILENO, buf, std::min(len, sizeof(buf) - 1));
155 write(STDERR_FILENO, buf, std::min(len, sizeof(buf) - 1));
329 if (fd == STDIN_FILENO || fd == STDOUT_FILENO || fd == STDERR_FILENO)
358 if (fd == STDIN_FILENO || fd == STDOUT_FILENO || fd == STDERR_FILENO)
925 fd_shuffle1.push_back(InjectionArc(dev_null, STDERR_FILENO, true));
H A Dlogging.cc14 // Windows doesn't define STDERR_FILENO. Define it here.
15 #define STDERR_FILENO 2 macro
799 write(STDERR_FILENO, message + bytes_written,
810 rv = HANDLE_EINTR(write(STDERR_FILENO, "\n", 1));
/external/mdnsresponder/mDNSPosix/
H A DmDNSUNP.c712 if (fd != STDERR_FILENO) (void)dup2(fd, STDERR_FILENO);
713 if (fd != STDIN_FILENO && fd != STDOUT_FILENO && fd != STDERR_FILENO)
/external/openssh/
H A Ddefines.h118 #ifndef STDERR_FILENO
119 # define STDERR_FILENO 2 macro
/external/qemu/
H A Darm-semi.c232 return write(STDERR_FILENO, &c, 1);
244 ret = write(STDERR_FILENO, s, len);

Completed in 458 milliseconds

123