Update contrib.
1 /** @file ../include/sys/select.h
5 /** @fn select(int, fd_set *, fd_set *, fd_set *, struct timeval *)
7 The select() function indicates which of the specified file descriptors is ready for reading, ready for writing, or has an error condition pending.
8 If the specified condition is false for all of the specified file descriptors, select() blocks, up to the specified timeout interval, until the specified condition is true for at least one of the specified file descriptors.
17 select.h would define fd_set type as a structure.
27 Clears the bit for the file descriptor fd in the file descriptor set fdset.
33 /** @def FD_ISSET(n, p)
35 Returns a non-zero value if the bit for the file descriptor fd is set in the file descriptor set pointed to by fdset, and 0 otherwise.
43 Sets the bit for the file descriptor fd in the file descriptor set fdset.
52 Initialises the file descriptor set fdset to have zero bits for all file descriptors.
61 The value of this macro is the maximum number of file descriptors that a fd_set object can hold information about.