Home
last modified time | relevance | path

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

/xnu-8792.61.2/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-8792.61.2/bsd/man/man2/
H A DMakefile43 dup2.2 \
/xnu-8792.61.2/bsd/sys/
H A Dfile_internal.h544 int dup2(proc_t p, int from, int to, int *fd);
/xnu-8792.61.2/bsd/kern/
H A Dkern_exec.c2729 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 Dkern_descrip.c2433 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