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

/freebsd-current/usr.bin/mail/
H A Dfio.c327 int pivec[2]; local
365 if (pipe(pivec) < 0) {
372 pid = start_command(sh, 0, -1, pivec[1], "-c", cmdbuf, NULL);
374 (void)close(pivec[0]);
375 (void)close(pivec[1]);
378 (void)close(pivec[1]);
379 l = read(pivec[0], xname, BUFSIZ);
380 (void)close(pivec[0]);
/freebsd-current/usr.bin/tip/tip/
H A Dcmds.c919 int s, pivec[2]; local
925 if (pipe(pivec) < 0) {
935 close(pivec[0]);
937 dup(pivec[1]);
938 close(pivec[1]);
946 close(pivec[0]);
947 close(pivec[1]);
950 close(pivec[1]);
951 l = read(pivec[0], xname, BUFSIZ);
952 close(pivec[
[all...]

Completed in 109 milliseconds