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

/freebsd-9.3-release/usr.bin/mail/
H A Dfio.c333 int pivec[2]; local
371 if (pipe(pivec) < 0) {
378 pid = start_command(sh, 0, -1, pivec[1], "-c", cmdbuf, NULL);
380 (void)close(pivec[0]);
381 (void)close(pivec[1]);
384 (void)close(pivec[1]);
385 l = read(pivec[0], xname, BUFSIZ);
386 (void)close(pivec[0]);
/freebsd-9.3-release/usr.bin/tip/tip/
H A Dcmds.c927 int s, pivec[2]; local
933 if (pipe(pivec) < 0) {
943 close(pivec[0]);
945 dup(pivec[1]);
946 close(pivec[1]);
954 close(pivec[0]);
955 close(pivec[1]);
958 close(pivec[1]);
959 l = read(pivec[0], xname, BUFSIZ);
960 close(pivec[
[all...]

Completed in 58 milliseconds