Are there any platforms where using structure copy on an fd_set (for select() or pselect()) causes p
- by Jonathan Leffler
The select() and pselect() system calls modify their arguments (the 'struct fd_set *' arguments), so the input value tells the system which file descriptors to check and the return values tell the programmer which file descriptors are currently usable.
If you are going to call them repeatedly for the same set of file descriptors, you need to…