Lines Matching refs:fds
52 int fds[2];
68 if (pipe(fds))
74 FD_SET(fds[0], set[0]);
75 FD_SET(fds[1], set[0]);
76 FD_SET(fds[0], set[1]);
77 FD_SET(fds[1], set[1]);
80 int rc = pselect(fds[1] + 1, set[0], set[1], set[2], NULL, NULL);
86 fds[1] + 1, fds[0], fds[1],
87 fds[0], fds[1],
88 NSIG_BYTES, fds[1]);
95 FD_SET(fds[0], set[1]);
96 FD_SET(fds[1], set[1]);
97 assert(syscall(__NR_pselect6, fds[1] + 1, NULL, set[1], NULL, &tm.ts, NULL) == 3);
101 fds[1] + 1, fds[0], fds[1],
103 fds[1],
111 FD_SET(fds[1],set[0]);
120 FD_SET(fds[0],set[0]);
127 FD_SETSIZE + 1, fds[0], NSIG_BYTES);