NAME select, pselect
tutorial with discussion and examples, see select_tut
ALSO restart_syscall (2), select (2), select_tut (2), timespec (3), epoll (7), time