/third_party/curl/src/ |
H A D | tool_main.h | 44 #ifndef STDERR_FILENO 45 # define STDERR_FILENO fileno(tool_stderr) macro
|
/third_party/curl/tests/libtest/ |
H A D | lib556.c | 36 #ifndef STDERR_FILENO 37 #define STDERR_FILENO 2 macro
|
/third_party/nghttp2/src/ |
H A D | shrpx_exec.cc | 88 while (write(STDERR_FILENO, msg, str_size(msg)) == -1 && errno == EINTR) in exec_read_command() 99 while (write(STDERR_FILENO, msg, str_size(msg)) == -1 && errno == EINTR) in exec_read_command()
|
/third_party/pulseaudio/src/pulsecore/ |
H A D | start-child.c | 82 pa_close(STDERR_FILENO); in pa_start_child_for_read() 83 pa_assert_se(open("/dev/null", O_WRONLY) == STDERR_FILENO); in pa_start_child_for_read()
|
/third_party/python/Lib/ |
H A D | pty.py | 22 STDERR_FILENO = 2 variable 111 os.dup2(slave_fd, STDERR_FILENO) 112 if slave_fd > STDERR_FILENO:
|
/third_party/rust/crates/rustix/src/backend/linux_raw/io/ |
H A D | types.rs | 94 pub(crate) const STDERR_FILENO: c::c_uint = linux_raw_sys::general::STDERR_FILENO;
|
/third_party/musl/libc-test/src/functional/ |
H A D | test-malloc-info-stats-print.h | 58 int saved_stderr = dup(STDERR_FILENO); in stats_to_buffer() 63 dup2(err_pipe[1], STDERR_FILENO); in stats_to_buffer() 68 dup2(saved_stderr, STDERR_FILENO); in stats_to_buffer()
|
/third_party/rust/crates/rustix/src/backend/libc/io/ |
H A D | types.rs | 123 pub(crate) const STDERR_FILENO: c::c_int = c::STDERR_FILENO;
|
/third_party/gn/src/base/ |
H A D | logging.cc | 20 // Windows doesn't define STDERR_FILENO. Define it here. 21 #define STDERR_FILENO 2 macro 295 rv = HANDLE_EINTR(write(STDERR_FILENO, message + bytes_written, in RawLog() 306 rv = HANDLE_EINTR(write(STDERR_FILENO, "\n", 1)); in RawLog()
|
/third_party/rust/crates/atty/src/ |
H A D | lib.rs | 45 Stream::Stderr => libc::STDERR_FILENO, in is() 58 Stream::Stderr => hermit_abi::STDERR_FILENO, in is()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/base/internal/ |
H A D | raw_logging.cc | 200 syscall(SYS_write, STDERR_FILENO, s, len); in SafeWriteToStderr() 202 write(STDERR_FILENO, s, len); in SafeWriteToStderr()
|
/third_party/NuttX/fs/inode/ |
H A D | fs_files.c | 476 if ((fd >= STDIN_FILENO) && (fd <= STDERR_FILENO)) in files_close_internal() 669 fdt->ft_fds[STDERR_FILENO].sysFd = STDERR_FILENO; in alloc_std_fd() 672 FD_SET(STDERR_FILENO, fdt->proc_fds); in alloc_std_fd() 750 for (int i = STDERR_FILENO + 1; i < numbers; i++) in alloc_fd_table()
|
/third_party/NuttX/fs/vfs/ |
H A D | fs_dup.c | 61 if ((fd >= STDIN_FILENO) && (fd <= STDERR_FILENO)) in dup()
|
H A D | fs_getfilep.c | 79 if (fd >= STDIN_FILENO && fd <= STDERR_FILENO) in fs_getfilep_normal()
|
H A D | fs_ioctl.c | 113 if (fd >= STDIN_FILENO && fd <= STDERR_FILENO) /* fd : [0,2] */ in fs_ioctl()
|
H A D | fs_read.c | 186 if (fd <= STDERR_FILENO && fd >= STDIN_FILENO) /* fd : [0,2] */ in read()
|
H A D | fs_write.c | 209 if (fd <= STDERR_FILENO && fd >= STDIN_FILENO) /* fd : [0,2] */ in write()
|
/third_party/rust/crates/libc/src/windows/gnu/ |
H A D | mod.rs | 7 pub const STDERR_FILENO: ::c_int = 2; consts
|
/third_party/alsa-utils/alsactl/ |
H A D | init_utils_run.c | 108 dup2(devnull, STDERR_FILENO); in run_program0() 117 dup2(errpipe[WRITE_END], STDERR_FILENO); in run_program0()
|
/third_party/ltp/lib/ |
H A D | tst_cmd.c | 95 close(STDERR_FILENO); in tst_cmd_fds_() 96 dup2(stderr_fd, STDERR_FILENO); in tst_cmd_fds_()
|
/third_party/eudev/src/shared/ |
H A D | log.c | 45 static int console_fd = STDERR_FILENO; 81 console_fd = STDERR_FILENO; in log_open_console() 191 isatty(STDERR_FILENO) <= 0) { in log_open()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/ |
H A D | raw_ostream.cpp | 60 #ifndef STDERR_FILENO 61 # define STDERR_FILENO 2 macro 712 static raw_fd_ostream S(STDERR_FILENO, false, true); in errs()
|
/third_party/gptfdisk/ |
H A D | sgdisk.cc | 40 dup2(silence, STDERR_FILENO); in ohos_dump()
|
/third_party/pulseaudio/src/pulse/ |
H A D | xmalloc.c | 51 pa_loop_write(STDERR_FILENO, e, sizeof(e)-1, NULL); in oom()
|
/third_party/libuv/test/ |
H A D | runner-unix.c | 67 assert(fd > STDERR_FILENO); in notify_parent_process() 154 dup2(stdout_fd, STDERR_FILENO); in process_start()
|