Home
last modified time | relevance | path

Searched refs:readfds (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.1/tools/testing/selftests/rtc/
Drtctest.c157 fd_set readfds; in TEST_F() local
159 FD_ZERO(&readfds); in TEST_F()
160 FD_SET(self->fd, &readfds); in TEST_F()
162 rc = select(self->fd + 1, &readfds, NULL, NULL, &tv); in TEST_F()
182 fd_set readfds; in TEST_F() local
209 FD_ZERO(&readfds); in TEST_F()
210 FD_SET(self->fd, &readfds); in TEST_F()
212 rc = select(self->fd + 1, &readfds, NULL, NULL, &tv); in TEST_F()
236 fd_set readfds; in TEST_F() local
263 FD_ZERO(&readfds); in TEST_F()
[all …]
/Linux-v6.1/Documentation/userspace-api/media/v4l/
Dfunc-select.rst24 .. c:function:: int select( int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct …
32 ``readfds``
62 function succeeds, setting the bit of the file descriptor in ``readfds``
103 The ``readfds``, ``writefds``, ``exceptfds`` or ``timeout`` pointer
/Linux-v6.1/tools/power/x86/turbostat/
Dturbostat.c3359 fd_set readfds; in do_sleep() local
3362 FD_ZERO(&readfds); in do_sleep()
3363 FD_SET(0, &readfds); in do_sleep()
3371 retval = select(1, &readfds, NULL, NULL, &tout); in do_sleep()