Searched defs:pdto (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/ypcmd/ypupdated/
H A Dopenchild.c75 int pdto[2]; local
80 if (pipe(pdto) < 0) {
92 * child: read from pdto[0], write into pdfrom[1]
95 (void) dup(pdto[0]);
115 * parent: write into pdto[1], read from pdfrom[0]
117 *fto = fdopen(pdto[1], "w");
118 (void) close(pdto[0]);
134 (void) close(pdto[0]);
135 (void) close(pdto[1]);
/illumos-gate/usr/src/cmd/keyserv/
H A Dupdate.c152 int pdto[2]; local
156 if (pipe(pdto) < 0) {
172 * child: read from pdto[0], write into pdfrom[1]
175 (void) dup(pdto[0]);
189 * parent: write into pdto[1], read from pdfrom[0]
191 *fto = fdopen(pdto[1], "w");
192 (void) close(pdto[0]);
206 (void) close(pdto[0]);
207 (void) close(pdto[1]);

Completed in 52 milliseconds