Searched refs:dup2 (Results 1 – 5 of 5) sorted by relevance
| /xnu-8792.61.2/tests/ |
| H A D | fd.c | 67 rc = dup2(STDIN_FILENO, 42); in fd_stress_dup2_close_fun() 110 T_ASSERT_POSIX_SUCCESS(dup2(fd1, fd2), "dup2(fd1, fd2)");
|
| /xnu-8792.61.2/bsd/man/man2/ |
| H A D | Makefile | 43 dup2.2 \
|
| /xnu-8792.61.2/bsd/sys/ |
| H A D | file_internal.h | 544 int dup2(proc_t p, int from, int to, int *fd);
|
| /xnu-8792.61.2/bsd/kern/ |
| H A D | kern_exec.c | 2729 error = dup2(p, origfd, psfa->psfaa_filedes, ival); in exec_handle_file_actions() 2746 error = dup2(p, psfa->psfaa_filedes, in exec_handle_file_actions() 2782 error = dup2(p, origfd, in exec_handle_file_actions()
|
| H A D | kern_descrip.c | 2433 return dup2(p, uap->from, uap->to, retval); in sys_dup2() 2437 dup2(proc_t p, int old, int new, int *retval) in dup2() function
|