Searched refs:STDERR_FILENO (Results 1 – 13 of 13) sorted by relevance
/bionic/tests/ |
D | sys_select_test.cpp | 87 FD_SET(STDERR_FILENO, &w); in TEST() 89 int max = STDERR_FILENO + 1; in TEST() 101 ASSERT_TRUE(FD_ISSET(STDERR_FILENO, &w)); in TEST() 142 FD_SET(STDERR_FILENO, &w); in TEST() 144 int max = STDERR_FILENO + 1; in TEST() 156 ASSERT_TRUE(FD_ISSET(STDERR_FILENO, &w)); in TEST()
|
D | utils.h | 228 dup2(fds[1], STDERR_FILENO); in Run() 229 if (fds[1] != STDOUT_FILENO && fds[1] != STDERR_FILENO) close(fds[1]); in Run()
|
/bionic/libc/upstream-openbsd/lib/libc/gen/ |
D | daemon.c | 59 (void)dup2(fd, STDERR_FILENO); in daemon()
|
/bionic/libc/upstream-netbsd/lib/libc/gen/ |
D | psignal.c | 78 (void)writev(STDERR_FILENO, iov, (int)((v - iov) + 1)); in __weak_alias()
|
/bionic/libc/bionic/ |
D | pty.cpp | 190 dup2(fd, STDERR_FILENO); in login_tty() 191 if (fd > STDERR_FILENO) { in login_tty()
|
/bionic/libc/dns/resolv/ |
D | herror.c | 119 writev(STDERR_FILENO, iov, (v - iov) + 1); in herror()
|
/bionic/benchmarks/tests/ |
D | interface_test.cpp | 88 close(STDERR_FILENO); in Exec() 90 ASSERT_NE(0, dup2(fds[1], STDERR_FILENO)); in Exec()
|
/bionic/libc/malloc_debug/tests/ |
D | malloc_debug_system_tests.cpp | 62 close(STDERR_FILENO); in Exec() 64 ASSERT_NE(0, dup2(fds[1], STDERR_FILENO)); in Exec()
|
/bionic/linker/ |
D | linker_main.cpp | 244 async_safe_format_fd_va_list(STDERR_FILENO, fmt, ap); in __linker_error() 396 async_safe_format_fd(STDERR_FILENO,
|
/bionic/libc/include/ |
D | unistd.h | 48 #define STDERR_FILENO 2 macro
|
/bionic/tests/headers/posix/ |
D | unistd_h.c | 274 MACRO_VALUE(STDERR_FILENO, 2); in unistd_h()
|
/bionic/libc/async_safe/ |
D | async_safe_log.cpp | 452 int result = TEMP_FAILURE_RETRY(writev(STDERR_FILENO, vec, 4)); in write_stderr()
|
/bionic/libc/stdio/ |
D | stdio.cpp | 102 MAKE_STD_STREAM(__SWR|__SNBF, STDERR_FILENO),
|