Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/mailx/
H A Dcmd4.c67 int page, s, pivec[2]; in dopipe() local
104 if (pipe(pivec) < 0) { in dopipe()
110 close(pivec[1]); /* child */ in dopipe()
112 dup(pivec[0]); in dopipe()
113 close(pivec[0]); in dopipe()
122 close(pivec[0]); in dopipe()
123 close(pivec[1]); in dopipe()
127 close(pivec[0]); /* parent */ in dopipe()
128 pio=fdopen(pivec[1],"w"); in dopipe()
/illumos-gate/usr/src/cmd/tip/
H A Dcmds.c894 int s, pivec[2]; in expand() local
898 if (pipe(pivec) < 0) { in expand()
908 (void) close(pivec[0]); in expand()
910 (void) dup(pivec[1]); in expand()
911 (void) close(pivec[1]); in expand()
918 (void) close(pivec[0]); in expand()
919 (void) close(pivec[1]); in expand()
922 (void) close(pivec[1]); in expand()
923 l = read(pivec[0], xname, BUFSIZ); in expand()
924 (void) close(pivec[0]); in expand()