Lines Matching refs:pipefd
837 int pipefd[2];
841 if (pipe(pipefd) == -1)
842 pipefd[0] = pipefd[1] = -1;
869 close(pipefd[1]);
870 complete_read(pipefd[0], numbuf, 1);
871 close(pipefd[0]);
1642 int fd, pipefd[2];
1653 if (pipe(pipefd) == -1)
1654 pipefd[0] = pipefd[1] = -1;
1662 close(pipefd[1]);
1663 /* this read() blocks until the close(pipefd[1]) below */
1664 complete_read(pipefd[0], buf, 1);
1665 close(pipefd[0]);
1708 close(pipefd[0]);
1710 close(pipefd[1]);