Home
last modified time | relevance | path

Searched refs:pivec (Results 1 – 2 of 2) sorted by relevance

/original-bsd/usr.bin/mail/
H A Dfio.c310 int pivec[2]; local
348 if (pipe(pivec) < 0) {
355 pid = start_command(shell, 0, -1, pivec[1], "-c", cmdbuf, NOSTR);
357 close(pivec[0]);
358 close(pivec[1]);
361 close(pivec[1]);
362 l = read(pivec[0], xname, BUFSIZ);
363 close(pivec[0]);
/original-bsd/usr.bin/tip/
H A Dcmds.c790 int s, pivec[2], (*sigint)(); local
795 if (pipe(pivec) < 0) {
805 close(pivec[0]);
807 dup(pivec[1]);
808 close(pivec[1]);
816 close(pivec[0]);
817 close(pivec[1]);
820 close(pivec[1]);
821 l = read(pivec[0], xname, BUFSIZ);
822 close(pivec[0]);