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

/freebsd-10.0-release/usr.bin/newkey/
H A Dupdate.c146 int pdto[2]; local
151 if (pipe(pdto) < 0) {
163 * child: read from pdto[0], write into pdfrom[1]
166 (void)dup(pdto[0]);
183 * parent: write into pdto[1], read from pdfrom[0]
185 *fto = fdopen(pdto[1], "w");
186 (void)close(pdto[0]);
200 (void)close(pdto[0]);
201 (void)close(pdto[1]);
/freebsd-10.0-release/usr.sbin/rpc.ypupdated/
H A Dupdate.c150 int pdto[2]; local
155 if (pipe(pdto) < 0) {
167 * child: read from pdto[0], write into pdfrom[1]
170 (void)dup(pdto[0]);
187 * parent: write into pdto[1], read from pdfrom[0]
189 *fto = fdopen(pdto[1], "w");
190 (void)close(pdto[0]);
204 (void)close(pdto[0]);
205 (void)close(pdto[1]);

Completed in 69 milliseconds