Searched refs:pivec (Results 1 – 2 of 2) sorted by relevance
69 int page, s, pivec[2]; in dopipe() local106 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()
884 int s, pivec[2]; in expand() local888 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()