Typo in <sys/select.h>?
Lavrentiev, Anton (NIH/NLM/NCBI) [C]
Tue Jul 5 15:11:35 GMT 2022
> I'm no expert, but it seems the FD_SETSIZE should have been 128.
> Long is 8 bytes, 64 bits. One bit if one open file, 64 * 64 = 4096.
FD_SETSIZE is the file descriptor bitset capacity in _BITS_.
64 (as currently in there) means 1 int (on 64 bit platforms, or 2 ints on 32 bit
platforms, respectively), and is capable of representing 64 file descriptors by
More information about the Cygwin