Home
last modified time | relevance | path

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

/Linux-v5.4/tools/testing/selftests/rtc/
Drtctest.c91 fd_set readfds; in TEST_F() local
93 FD_ZERO(&readfds); in TEST_F()
94 FD_SET(self->fd, &readfds); in TEST_F()
96 rc = select(self->fd + 1, &readfds, NULL, NULL, &tv); in TEST_F()
116 fd_set readfds; in TEST_F() local
143 FD_ZERO(&readfds); in TEST_F()
144 FD_SET(self->fd, &readfds); in TEST_F()
146 rc = select(self->fd + 1, &readfds, NULL, NULL, &tv); in TEST_F()
170 fd_set readfds; in TEST_F() local
197 FD_ZERO(&readfds); in TEST_F()
[all …]
/Linux-v5.4/Documentation/media/uapi/v4l/
Dfunc-select.rst32 .. c:function:: int select( int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct …
41 ``readfds``
72 function succeeds, setting the bit of the file descriptor in ``readfds``
114 The ``readfds``, ``writefds``, ``exceptfds`` or ``timeout`` pointer
/Linux-v5.4/tools/power/x86/turbostat/
Dturbostat.c3028 fd_set readfds; in do_sleep() local
3031 FD_ZERO(&readfds); in do_sleep()
3032 FD_SET(0, &readfds); in do_sleep()
3040 retval = select(1, &readfds, NULL, NULL, &tout); in do_sleep()