Lines Matching refs:fds
41 int fds[2];
50 if (pipe(fds))
57 FD_SET(fds[0], set);
58 FD_SET(fds[1], set);
59 int rc = syscall(TEST_SYSCALL_NR, fds[1] + 1, set, set, set, NULL);
64 TEST_SYSCALL_STR, fds[1] + 1, fds[0], fds[1],
65 fds[0], fds[1], fds[0], fds[1]);
72 FD_SET(fds[0], set);
73 FD_SET(fds[1], set);
74 assert(syscall(TEST_SYSCALL_NR, fds[1] + 1, NULL, set, NULL, &tm.tv) == 3);
77 TEST_SYSCALL_STR, fds[1] + 1, fds[0], fds[1],
79 fds[1],
87 FD_SET(fds[1],set);
96 FD_SET(fds[0],set);
101 TEST_SYSCALL_STR, FD_SETSIZE + 1, fds[0]);