Home
last modified time | relevance | path

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

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