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

/freebsd-10.0-release/usr.bin/newkey/
H A Dupdate.c147 int pdfrom[2]; local
154 if (pipe(pdfrom) < 0) {
163 * child: read from pdto[0], write into pdfrom[1]
168 (void)dup(pdfrom[1]);
183 * parent: write into pdto[1], read from pdfrom[0]
187 *ffrom = fdopen(pdfrom[0], "r");
188 (void)close(pdfrom[1]);
197 (void)close(pdfrom[0]);
198 (void)close(pdfrom[1]);
/freebsd-10.0-release/usr.sbin/rpc.ypupdated/
H A Dupdate.c151 int pdfrom[2]; local
158 if (pipe(pdfrom) < 0) {
167 * child: read from pdto[0], write into pdfrom[1]
172 (void)dup(pdfrom[1]);
187 * parent: write into pdto[1], read from pdfrom[0]
191 *ffrom = fdopen(pdfrom[0], "r");
192 (void)close(pdfrom[1]);
201 (void)close(pdfrom[0]);
202 (void)close(pdfrom[1]);

Completed in 77 milliseconds