Lines Matching refs:errfd
1565 safe_fork(int infd, int outfd, int errfd) in safe_fork() argument
1606 if (errfd == 0 || errfd == 1) in safe_fork()
1607 errfd = dup(errfd); in safe_fork()
1616 if (errfd != 2) in safe_fork()
1617 dup2(errfd, 2); in safe_fork()
1631 if (errfd != 2) in safe_fork()
1632 close(errfd); in safe_fork()
1701 int errfd; local
1704 errfd = log_to_fd;
1706 errfd = open(_PATH_CONNERRS, O_WRONLY | O_APPEND | O_CREAT, 0600);
1709 pid = safe_fork(in, out, errfd);
1712 close(errfd);