Home
last modified time | relevance | path

Searched refs:STDERR_FILENO (Results 1 – 16 of 16) 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.h237 dup2(fds[1], STDERR_FILENO); in Run()
238 if (fds[1] != STDOUT_FILENO && fds[1] != STDERR_FILENO) close(fds[1]); in Run()
Dfdtrack_test.cpp263 FDTRACK_TEST(dup2, dup2(STDOUT_FILENO, STDERR_FILENO));
264 FDTRACK_TEST(dup3, dup3(STDOUT_FILENO, STDERR_FILENO, 0));
Dunistd_test.cpp473 write(STDERR_FILENO, error, strlen(error)); in TEST()
479 write(STDERR_FILENO, error, strlen(error)); in TEST()
/bionic/libc/upstream-openbsd/lib/libc/gen/
Ddaemon.c59 (void)dup2(fd, STDERR_FILENO); in daemon()
/bionic/libc/bionic/
Dpty.cpp190 dup2(fd, STDERR_FILENO); in login_tty()
191 if (fd > STDERR_FILENO) { in login_tty()
Dsyslog.cpp90 dprintf(STDERR_FILENO, "%s: %s%s", log_tag, log_line, have_newline ? "" : "\n"); in vsyslog()
/bionic/libc/upstream-netbsd/lib/libc/gen/
Dpsignal.c78 (void)writev(STDERR_FILENO, iov, (int)((v - iov) + 1)); in __weak_alias()
/bionic/libc/dns/resolv/
Dherror.c119 writev(STDERR_FILENO, iov, (v - iov) + 1); in herror()
/bionic/benchmarks/tests/
Dinterface_test.cpp84 close(STDERR_FILENO); in Exec()
86 ASSERT_NE(0, dup2(fds[1], STDERR_FILENO)); in Exec()
/bionic/libc/malloc_debug/tests/
Dmalloc_debug_system_tests.cpp260 close(STDERR_FILENO); in InternalExec()
262 ASSERT_NE(0, dup2(fds[1], STDERR_FILENO)); in InternalExec()
/bionic/libc/include/
Dunistd.h49 #define STDERR_FILENO 2 macro
/bionic/tests/headers/posix/
Dunistd_h.c292 MACRO_VALUE(STDERR_FILENO, 2); in unistd_h()
/bionic/libc/async_safe/
Dasync_safe_log.cpp494 int result = TEMP_FAILURE_RETRY(writev(STDERR_FILENO, vec, 4)); in write_stderr()
/bionic/linker/
Dlinker_main.cpp247 async_safe_format_fd_va_list(STDERR_FILENO, fmt, ap); in __linker_error()
/bionic/libc/stdio/
Dstdio.cpp100 MAKE_STD_STREAM(__SWR|__SNBF, STDERR_FILENO),