Lines Matching refs:pipefd
233 int pipefd[2]; local
638 pipefd[0] = pipefd[1] = -1;
649 if (pipe(pipefd) < 0)
650 pipefd[0] = pipefd[1] = -1;
657 if (pipefd[0] != -1)
659 (void) close(pipefd[0]);
660 (void) close(pipefd[1]);
785 if (pipefd[0] != -1)
798 (void) close(pipefd[1]);
801 while (read(pipefd[0], &c, 1) < 0 &&
804 (void) close(pipefd[0]);
950 if (pipefd[0] != -1)
952 (void) close(pipefd[0]);
953 pipefd[0] = -1;
960 if (pipefd[1] != -1)
962 (void) close(pipefd[1]);
963 pipefd[1] = -1;