Lines Matching refs:pv
109 int pv[2]; /* pipe from shell stdout */
266 if (pipe(pv) < 0) {
280 error = posix_spawn_file_actions_adddup2(&fact, pv[1], 1);
281 if (error == 0 && pv[0] != 1)
282 error = posix_spawn_file_actions_addclose(&fact, pv[0]);
283 if (error == 0 && pv[1] != 1)
284 error = posix_spawn_file_actions_addclose(&fact, pv[1]);
294 (void) close(pv[1]);
296 (void) close(pv[0]);
301 if ((fp = fdopen(pv[0], "rF")) == NULL) {
303 (void) close(pv[0]);