Typo in <sys/select.h>?

Lavrentiev, Anton (NIH/NLM/NCBI) [C] lavr@ncbi.nlm.nih.gov
Wed Jul 6 15:57:36 GMT 2022

> However, discussing this shows how irrelevant the actual default value
> of FD_SETSIZE is.

Correct, yet the comments in the header files (along with used values) should be consistent :-)

> [...] to define FD_SETSIZE according to its requirements anyway.

That'd work for CYGWIN right away;  but won't for glibc (because FD_SETSIZE
is not used in the actual type definition, but __FD_SETSIZE), so there comes
the array trick shown earlier.

Anton Lavrentiev
Contractor NIH/NLM/NCBI

More information about the Cygwin mailing list