Lines Matching defs:pipes
1 /* Utilities to execute a program in a subprocess (possibly linked by pipes
751 volatile int pipes[2]; /* [0]:reader,[1]:writer. */
758 if (pipe2 ((int *)pipes, O_CLOEXEC))
761 if (pipe ((int *)pipes))
765 if (fcntl (pipes[1], F_SETFD, FD_CLOEXEC) == -1)
767 close (pipes[0]);
768 close (pipes[1]);
802 close (pipes[0]);
803 close (pipes[1]);
816 close (pipes[0]);
872 || write (pipes[1], &failed, sizeof (failed)) != sizeof (failed))
908 close (pipes[1]);
909 ssize_t len = read (pipes[0], &failed, sizeof (failed));
912 close (pipes[0]);