Searched refs:readfds (Results 1 – 4 of 4) sorted by relevance
| /linux/tools/testing/selftests/rtc/ |
| H A D | rtctest.c | 201 fd_set readfds; in TEST_F() local 203 FD_ZERO(&readfds); in TEST_F() 204 FD_SET(self->fd, &readfds); in TEST_F() 206 rc = select(self->fd + 1, &readfds, NULL, NULL, &tv); in TEST_F() 226 fd_set readfds; in TEST_F() local 269 FD_ZERO(&readfds); in TEST_F() 270 FD_SET(self->fd, &readfds); in TEST_F() 272 rc = select(self->fd + 1, &readfds, NULL, NULL, &tv); in TEST_F() 296 fd_set readfds; in TEST_F() local 339 FD_ZERO(&readfds); in TEST_F() [all …]
|
| /linux/Documentation/userspace-api/media/v4l/ |
| H A D | func-select.rst | 24 .. 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/tools/accounting/ |
| H A D | delaytop.c | 1002 fd_set readfds; in check_for_keypress() local 1005 FD_ZERO(&readfds); in check_for_keypress() 1006 FD_SET(STDIN_FILENO, &readfds); in check_for_keypress() 1007 int r = select(STDIN_FILENO + 1, &readfds, NULL, NULL, &tv); in check_for_keypress() 1009 if (r > 0 && FD_ISSET(STDIN_FILENO, &readfds)) { in check_for_keypress()
|
| /linux/tools/power/x86/turbostat/ |
| H A D | turbostat.c | 6468 fd_set readfds; in do_sleep() local 6471 FD_ZERO(&readfds); in do_sleep() 6472 FD_SET(0, &readfds); in do_sleep() 6480 retval = select(1, &readfds, NULL, NULL, &tout); in do_sleep()
|