Home
last modified time | relevance | path

Searched refs:safe_dup2 (Results 1 – 4 of 4) sorted by relevance

/third_party/glib/glib/
Dgspawn.c1520 safe_dup2 (gint fd1, gint fd2) in safe_dup2() function
1589 if (safe_dup2 (stdin_fd, 0) < 0) in do_exec()
1604 safe_dup2 (read_null, 0); in do_exec()
1611 if (safe_dup2 (stdout_fd, 1) < 0) in do_exec()
1625 safe_dup2 (write_null, 1); in do_exec()
1632 if (safe_dup2 (stderr_fd, 2) < 0) in do_exec()
1646 safe_dup2 (write_null, 2); in do_exec()
1659 safe_dup2 (child_err_report_fd, 3); in do_exec()
1712 safe_dup2 (source_fds[i], target_fds[i]); in do_exec()
Dgtestutils.c3246 safe_dup2 (int fd1, in safe_dup2() function
3498 …if (safe_dup2 (stdout_pipe[1], 1) < 0 || safe_dup2 (stderr_pipe[1], 2) < 0 || (fd0 >= 0 && safe_du… in g_test_trap_fork()
/third_party/ltp/include/
Dtst_safe_macros.h53 int safe_dup2(const char *file, const int lineno, int oldfd, int newfd);
56 safe_dup2(__FILE__, __LINE__, (oldfd), (newfd))
/third_party/ltp/lib/
Dtst_safe_macros.c494 int safe_dup2(const char *file, const int lineno, int oldfd, int newfd) in safe_dup2() function