Searched refs:fids (Results 1 - 2 of 2) sorted by relevance
/freebsd-12-stable/usr.sbin/ppp/ |
H A D | exec.c | 250 int fids[2], type; local 262 if (socketpair(AF_UNIX, type, PF_UNSPEC, fids) < 0) { 273 stat = fcntl(fids[0], F_GETFL, 0); 276 fcntl(fids[0], F_SETFL, stat); 282 close(fids[1]); 283 close(fids[0]); 292 close(fids[1]); 293 close(fids[0]); 298 close(fids[0]); 334 dup2(fids[ [all...] |
H A D | chat.c | 718 int fids[2]; local 731 if (pipe(fids) < 0) { 740 close(fids[0]); 742 if (fids[1] == STDIN_FILENO) 743 fids[1] = dup(fids[1]); 745 dup2(fids[1], STDERR_FILENO); 761 close(fids[1]); 765 nb = read(fids[0], out, 1); 771 close(fids[ [all...] |
Completed in 183 milliseconds