Home
last modified time | relevance | path

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

/misc/
A Dtst-pselect.c54 int fds[2][2]; in test_pselect_basic() local
55 xpipe (fds[0]); in test_pselect_basic()
56 xpipe (fds[1]); in test_pselect_basic()
71 xclose (fds[0][1]); in test_pselect_basic()
72 xclose (fds[1][0]); in test_pselect_basic()
95 xclose (fds[0][0]); in test_pselect_basic()
96 xclose (fds[1][1]); in test_pselect_basic()
98 FD_SET (fds[1][0], &rfds); in test_pselect_basic()
112 int fds[2]; in test_pselect_large_timeout() local
113 xpipe (fds); in test_pselect_large_timeout()
[all …]
A Dtst-select.c31 int fds[2][2]; member
40 close (args->fds[0][1]); in do_test_child()
41 close (args->fds[1][0]); 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()
61 xwrite (args->fds[1][1], "foo", 3); in do_test_child()
88 xpipe (args.fds[0]); in do_test()
89 xpipe (args.fds[1]); in do_test()
119 xclose (args.fds[0][0]); in do_test()
120 xclose (args.fds[1][1]); in do_test()
[all …]

Completed in 6 milliseconds