Lines Matching defs:pipefd
776 int tempfd, bytes, pipefd[2], status;
808 if (pipe(pipefd) == -1) {
816 (void)close(pipefd[1]);
817 (void)close(pipefd[0]);
823 (void)close(pipefd[0]);
828 if (pipefd[1] != STDOUT_FILENO) {
829 (void)dup2(pipefd[1], STDOUT_FILENO);
830 (void)close(pipefd[1]);
840 (void)close(pipefd[1]);
845 if ((in = gzdopen(pipefd[0], "r")) == NULL) {
848 (void)close(pipefd[0]);