Lines Matching refs:perr
65 int perr[2]; /* pipe for stderr */
126 if (pipe(perr) < 0) {
143 (void) close(perr[0]);
144 (void) close(perr[1]);
149 /* close the reading channels of pout and perr */
151 (void) close(perr[0]);
161 if (dup2(perr[1], 2) < 0) {
185 /* close the writing channels of pout and perr */
187 (void) close(perr[1]);
197 FD_SET(perr[0], &rset);
198 maxfd = max(pout[0], perr[0]) + 1;
226 if (FD_ISSET(perr[0], &rset)) {
228 i = read(perr[0], err,
234 i = read(perr[0], junk, JUNK);
255 (void) close(perr[0]);