Home
last modified time | relevance | path

Searched refs:STDERR_FILENO (Results 1 – 15 of 15) sorted by relevance

/bionic/tests/
Dsys_select_test.cpp87 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()
Dutils.h243 dup2(fds[1], STDERR_FILENO); in Run()
244 if (fds[1] != STDOUT_FILENO && fds[1] != STDERR_FILENO) close(fds[1]); in Run()
Dfdtrack_test.cpp216 FDTRACK_TEST(dup2, dup2(STDOUT_FILENO, STDERR_FILENO));
217 FDTRACK_TEST(dup3, dup3(STDOUT_FILENO, STDERR_FILENO, 0));
Dunistd_test.cpp452 write(STDERR_FILENO, error, strlen(error)); in TEST()
458 write(STDERR_FILENO, error, strlen(error)); in TEST()
/bionic/libc/bionic/
Dpty.cpp190 dup2(fd, STDERR_FILENO); in login_tty()
191 if (fd > STDERR_FILENO) { in login_tty()
/bionic/libc/upstream-openbsd/lib/libc/gen/
Ddaemon.c59 (void)dup2(fd, STDERR_FILENO); in daemon()
/bionic/libc/upstream-netbsd/lib/libc/gen/
Dpsignal.c78 (void)writev(STDERR_FILENO, iov, (int)((v - iov) + 1)); in __weak_alias()
/bionic/benchmarks/tests/
Dinterface_test.cpp88 close(STDERR_FILENO); in Exec()
90 ASSERT_NE(0, dup2(fds[1], STDERR_FILENO)); in Exec()
/bionic/libc/dns/resolv/
Dherror.c119 writev(STDERR_FILENO, iov, (v - iov) + 1); in herror()
/bionic/libc/malloc_debug/tests/
Dmalloc_debug_system_tests.cpp79 close(STDERR_FILENO); in Exec()
81 ASSERT_NE(0, dup2(fds[1], STDERR_FILENO)); in Exec()
/bionic/linker/
Dlinker_main.cpp249 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/
Dunistd.h48 #define STDERR_FILENO 2 macro
/bionic/libc/async_safe/
Dasync_safe_log.cpp452 int result = TEMP_FAILURE_RETRY(writev(STDERR_FILENO, vec, 4)); in write_stderr()
/bionic/tests/headers/posix/
Dunistd_h.c274 MACRO_VALUE(STDERR_FILENO, 2); in unistd_h()
/bionic/libc/stdio/
Dstdio.cpp100 MAKE_STD_STREAM(__SWR|__SNBF, STDERR_FILENO),