Lines Matching defs:pip
511 int pip[2];
514 if (pipe(pip) < 0)
516 if (pip[1] > biggest_sh_fd)
517 biggest_sh_fd = pip[1];
522 xwrite(pip[1], redir->nhere.text, len);
525 VTRACE(DBG_REDIR, (" forking [%d,%d]\n", pip[0], pip[1]));
527 close(pip[0]);
535 xwrite(pip[1], redir->nhere.text, len);
539 VTRACE(DBG_REDIR, ("openhere (closing %d)", pip[1]));
541 close(pip[1]);
542 VTRACE(DBG_REDIR, (" (pipe fd=%d)", pip[0]));
543 return pip[0];