Searched refs:STDERR_FILENO (Results 1 – 15 of 15) 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 | 243 dup2(fds[1], STDERR_FILENO); in Run() 244 if (fds[1] != STDOUT_FILENO && fds[1] != STDERR_FILENO) close(fds[1]); in Run()
|
D | fdtrack_test.cpp | 216 FDTRACK_TEST(dup2, dup2(STDOUT_FILENO, STDERR_FILENO)); 217 FDTRACK_TEST(dup3, dup3(STDOUT_FILENO, STDERR_FILENO, 0));
|
D | unistd_test.cpp | 452 write(STDERR_FILENO, error, strlen(error)); in TEST() 458 write(STDERR_FILENO, error, strlen(error)); in TEST()
|
/bionic/libc/bionic/ |
D | pty.cpp | 190 dup2(fd, STDERR_FILENO); in login_tty() 191 if (fd > STDERR_FILENO) { in login_tty()
|
/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/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/dns/resolv/ |
D | herror.c | 119 writev(STDERR_FILENO, iov, (v - iov) + 1); in herror()
|
/bionic/libc/malloc_debug/tests/ |
D | malloc_debug_system_tests.cpp | 79 close(STDERR_FILENO); in Exec() 81 ASSERT_NE(0, dup2(fds[1], STDERR_FILENO)); in Exec()
|
/bionic/linker/ |
D | linker_main.cpp | 249 async_safe_format_fd_va_list(STDERR_FILENO, fmt, ap); in __linker_error() 409 async_safe_format_fd(STDERR_FILENO, in linker_main()
|
/bionic/libc/include/ |
D | unistd.h | 48 #define STDERR_FILENO 2 macro
|
/bionic/libc/async_safe/ |
D | async_safe_log.cpp | 452 int result = TEMP_FAILURE_RETRY(writev(STDERR_FILENO, vec, 4)); in write_stderr()
|
/bionic/tests/headers/posix/ |
D | unistd_h.c | 274 MACRO_VALUE(STDERR_FILENO, 2); in unistd_h()
|
/bionic/libc/stdio/ |
D | stdio.cpp | 100 MAKE_STD_STREAM(__SWR|__SNBF, STDERR_FILENO),
|