Home
last modified time | relevance | path

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

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