Home | History | Annotate | Download | only in sh

Lines Matching defs:pip

402 		int pip[2];
406 if (pipe(pip) < 0)
410 (void) close(pip[0]);
411 if (pip[1] != 1) {
413 copyfd(pip[1], 1);
414 close(pip[1]);
420 (void) close(pip[1]);
421 pip[1] = -1;
423 while ((i = read(pip[0], p, pwd + MAXPWD - p)) > 0
428 (void) close(pip[0]);
429 pip[0] = -1;