Lines Matching refs:pv
172 int pv[2], cc; in doit() local
367 (void) pipe(pv); in doit()
380 (void) close(f); (void) close(pv[1]); in doit()
383 FD_SET(pv[0], &readfrom); in doit()
384 (void) ioctl(pv[0], FIONBIO, (char *)&one); in doit()
388 if (select(MAXFD(s, pv[0])+1, &ready, NULL, in doit()
399 if (FD_ISSET(pv[0], &ready)) { in doit()
400 cc = read(pv[0], buf, sizeof (buf)); in doit()
403 FD_CLR(pv[0], &readfrom); in doit()
408 FD_ISSET(pv[0], &readfrom)); in doit()
413 (void) close(s); (void)close(pv[0]); in doit()
414 (void) dup2(pv[1], 2); in doit()