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

/illumos-gate/usr/src/cmd/mailx/
H A Dcmd4.c69 int page, s, pivec[2]; local
106 if (pipe(pivec) < 0) {
112 close(pivec[1]); /* child */
114 dup(pivec[0]);
115 close(pivec[0]);
124 close(pivec[0]);
125 close(pivec[1]);
129 close(pivec[0]); /* parent */
130 pio=fdopen(pivec[1],"w");
/illumos-gate/usr/src/cmd/tip/
H A Dcmds.c884 int s, pivec[2]; local
888 if (pipe(pivec) < 0) {
898 (void) close(pivec[0]);
900 (void) dup(pivec[1]);
901 (void) close(pivec[1]);
908 (void) close(pivec[0]);
909 (void) close(pivec[1]);
912 (void) close(pivec[1]);
913 l = read(pivec[0], xname, BUFSIZ);
914 (void) close(pivec[
[all...]

Completed in 59 milliseconds