Home
last modified time | relevance | path

Searched refs:dup2 (Results 1 – 6 of 6) sorted by relevance

/xnu-11215.81.4/tests/
H A Dfd.c67 rc = dup2(STDIN_FILENO, 42); in fd_stress_dup2_close_fun()
110 T_ASSERT_POSIX_SUCCESS(dup2(fd1, fd2), "dup2(fd1, fd2)");
/xnu-11215.81.4/bsd/man/man2/
H A DMakefile43 dup2.2 \
/xnu-11215.81.4/tests/skywalk/
H A Dskywalk_mptest_driver.c228 dup2(pfd[0], MPTEST_SEQ_FILENO); in skywalk_mptest_driver_run()
/xnu-11215.81.4/bsd/sys/
H A Dfile_internal.h565 int dup2(proc_t p, kauth_cred_t p_cred, int from, int to, int *fd);
/xnu-11215.81.4/bsd/kern/
H A Dkern_exec.c2915 error = dup2(p, p_cred, origfd, psfa->psfaa_filedes, ival); in exec_handle_file_actions()
2932 error = dup2(p, p_cred, psfa->psfaa_filedes, in exec_handle_file_actions()
2968 error = dup2(p, p_cred, origfd, in exec_handle_file_actions()
H A Dkern_descrip.c2444 return dup2(p, p_cred, uap->from, uap->to, retval); in sys_dup2()
2448 dup2(proc_t p, kauth_cred_t p_cred, int old, int new, int *retval) in dup2() function