Lines Matching refs:outpipe
993 int outpipe[2], errpipe[2];
1005 if (pipe(outpipe) < 0)
1006 if (strlcat(errbuf, ": pipe(outpipe) failed",
1021 (void) close(outpipe[1]);
1060 if (ioctl(outpipe[0], FIONREAD, &count) >= 0 && count) {
1061 if (read(outpipe[0], outbuf, outbuflen) <= 0) {
1067 if (strlcat(errbuf, ": read(outpipe) failed",
1083 (void) close(outpipe[0]);
1088 (void) dup2(outpipe[1], fileno(stdout));
1089 (void) close(outpipe[0]);