First page Back Continue Last page Summary Graphic
SELECT (Contd)
numfds: number of file descriptors in set
refds: address of file descriptors for input
wrfds: address of file descriptors for output
exfds: address of file descriptors for exceptions
time: maximum time to wait (or zero)
Returns the number of ready file descriptors, 0 if time limit reached, or -1 for error.