Lines Matching refs:pipefd
801 int pipefd[2]; in detach() local
805 if (pipe(pipefd) == -1) in detach()
806 pipefd[0] = pipefd[1] = -1; in detach()
833 close(pipefd[1]); in detach()
834 complete_read(pipefd[0], numbuf, 1); in detach()
835 close(pipefd[0]); in detach()
1594 int fd, pipefd[2]; in safe_fork() local
1605 if (pipe(pipefd) == -1) in safe_fork()
1606 pipefd[0] = pipefd[1] = -1; in safe_fork()
1614 close(pipefd[1]); in safe_fork()
1616 complete_read(pipefd[0], buf, 1); in safe_fork()
1617 close(pipefd[0]); in safe_fork()
1661 close(pipefd[0]); in safe_fork()
1663 close(pipefd[1]); in safe_fork()