Interface to the
select(2) POSIX function.
- Make a version of
that shows which file descriptors are ready. (Needs a type for fd_set that can be passed to and from C).
select readFds writeFds exceptFds timeout
select(2) function with the file descriptors in
readFds as the
FD set to watch for read readiness, and similarly for
timeout specifying the timeout. The return
value is that of the call.