Typo in <sys/select.h>?
Wed Jul 6 14:17:04 GMT 2022
On Jul 6 13:19, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin wrote:
> > On Linux, select(2) is really only capable to
> > handle file descriptors numbers up to descriptor number 1023,
> That is not true. While FD_SETSIZE is defined as a fixed constant,
> Linux kernel does not actually "know" (or care) about it.
$ rpm -q man-pages
$ man 2 select
WARNING: select() can monitor only file descriptors numbers that are
less than FD_SETSIZE (1024)—an unreasonably low limit for many modern
applications—and this limitation will not change. All modern applica‐
tions should instead use poll(2) or epoll(7), which do not suffer this
More information about the Cygwin