Searched refs:dup2 (Results 1 – 19 of 19) sorted by relevance
/bionic/libc/upstream-openbsd/lib/libc/gen/ |
D | daemon.c | 57 (void)dup2(fd, STDIN_FILENO); in daemon() 58 (void)dup2(fd, STDOUT_FILENO); in daemon() 59 (void)dup2(fd, STDERR_FILENO); in daemon()
|
/bionic/libc/bionic/ |
D | dup2.cpp | 32 int dup2(int old_fd, int new_fd) { in dup2() function
|
D | pty.cpp | 188 dup2(fd, STDIN_FILENO); in login_tty() 189 dup2(fd, STDOUT_FILENO); in login_tty() 190 dup2(fd, STDERR_FILENO); in login_tty()
|
D | libc_init_common.cpp | 151 status = TEMP_FAILURE_RETRY(dup2(dev_null, i)); in __nullify_closed_stdio()
|
D | spawn.cpp | 65 if (dup2(fd, new_fd) == -1) _exit(127); in Do() 72 if (dup2(fd, new_fd) == -1) _exit(127); in Do()
|
/bionic/tests/ |
D | utils.h | 227 dup2(fds[1], STDOUT_FILENO); in Run() 228 dup2(fds[1], STDERR_FILENO); in Run()
|
D | unistd_test.cpp | 1086 ASSERT_EQ(fd, dup2(fd, fd)); in TEST() 1091 ASSERT_EQ(-1, dup2(fd, fd)); in TEST()
|
D | stdio_test.cpp | 869 ASSERT_NE(-1, dup2(fd_rdonly, fileno(fp))); in TEST() 879 ASSERT_NE(-1, dup2(fd_rdonly, fileno(fp))); in TEST()
|
/bionic/benchmarks/tests/ |
D | interface_test.cpp | 89 ASSERT_NE(0, dup2(fds[1], STDOUT_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 | 63 ASSERT_NE(0, dup2(fds[1], STDOUT_FILENO)); in Exec() 64 ASSERT_NE(0, dup2(fds[1], STDERR_FILENO)); in Exec()
|
/bionic/libc/ |
D | SECCOMP_WHITELIST_APP.TXT | 67 int dup2(int oldfd, int newfd) arm,x86,mips
|
D | libc.map.txt | 300 dup2;
|
D | Android.bp | 1038 "bionic/dup2.cpp",
|
/bionic/libc/include/ |
D | unistd.h | 242 int dup2(int __old_fd, int __new_fd);
|
/bionic/tests/headers/posix/ |
D | unistd_h.c | 298 FUNCTION(dup2, int (*f)(int, int)); in unistd_h()
|
/bionic/tools/versioner/src/ |
D | versioner.cpp | 229 dup2(empty_file_fd, STDIN_FILENO); in compileHeaders()
|
/bionic/libc/stdio/ |
D | stdio.cpp | 1226 if (dup2(fds[child], desired_child_fd) == -1) _exit(127); in popen() 1228 if (bidirectional) dup2(STDOUT_FILENO, STDIN_FILENO); in popen()
|
/bionic/libc/tools/ |
D | posix-2013.txt | 187 dup2
|
/bionic/tools/versioner/platforms/ |
D | libc.map.txt | 300 dup2;
|