Home
last modified time | relevance | path

Searched refs:rfds (Results 1 – 2 of 2) sorted by relevance

/misc/
A Dtst-pselect.c58 fd_set rfds; in test_pselect_basic() local
59 FD_ZERO (&rfds); in test_pselect_basic()
74 FD_SET (fds[0][0], &rfds); in test_pselect_basic()
83 e = pselect (fds[0][0] + 1, &rfds, NULL, NULL, &to, &ss); in test_pselect_basic()
98 FD_SET (fds[1][0], &rfds); in test_pselect_basic()
102 int e = pselect (fds[1][0] + 1, &rfds, NULL, NULL, NULL, &ss); in test_pselect_basic()
104 TEST_VERIFY (FD_ISSET (fds[1][0], &rfds)); in test_pselect_basic()
115 fd_set rfds; in test_pselect_large_timeout() local
116 FD_ZERO (&rfds); in test_pselect_large_timeout()
117 FD_SET (fds[0], &rfds); in test_pselect_large_timeout()
[all …]
A Dtst-select.c43 fd_set rfds; in do_test_child() local
44 FD_ZERO (&rfds); in do_test_child()
45 FD_SET (args->fds[0][0], &rfds); in do_test_child()
50 int r = select (args->fds[0][0] + 1, &rfds, NULL, NULL, &args->tmo); in do_test_child()
141 fd_set rfds; in do_test() local
142 FD_ZERO (&rfds); in do_test()
143 FD_SET (args.fds[1][0], &rfds); in do_test()
145 int r = select (args.fds[1][0] + 1, &rfds, NULL, NULL, &args.tmo); in do_test()

Completed in 6 milliseconds