Home
last modified time | relevance | path

Searched refs:safe_dup (Results 1 – 3 of 3) sorted by relevance

/netbsd-src/external/bsd/kyua-cli/dist/utils/process/
H A Dchild.cpp99 safe_dup(const int old_fd, const int new_fd) in safe_dup() function
279 safe_dup(fds[1], STDOUT_FILENO); in fork_capture_aux()
280 safe_dup(fds[1], STDERR_FILENO); in fork_capture_aux()
335 safe_dup(stdout_fd, STDOUT_FILENO); in fork_files_aux()
340 safe_dup(stderr_fd, STDERR_FILENO); in fork_files_aux()
/netbsd-src/external/bsd/atf/dist/tools/
H A Dprocess.cpp88 safe_dup(const int oldfd, const int newfd) in safe_dup() function
253 safe_dup(m_pipefds[1], fd); in connect_child()
277 safe_dup(m_tgt_fd, m_src_fd); in connect_child()
319 safe_dup(m_fd, fd); in connect_child()
346 safe_dup(aux, fd); in connect_child()
/netbsd-src/external/bsd/atf/dist/atf-c/detail/
H A Dprocess.c314 safe_dup(const int oldfd, const int newfd) in safe_dup() function
340 err = safe_dup(sp->m_pipefds[1], procfd); in child_connect()
350 err = safe_dup(sp->m_sb->m_fd, procfd); in child_connect()
358 err = safe_dup(aux, procfd); in child_connect()