CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected] 2022/01/21 09:18:16

Modified files:
        lib/libc/sys   : select.2 

Log message:
In 1999 fd_set overflowing beyond FD_SETSIZE became enough of a problem that I
changed the entire tree to use fd_set allocation, and this manpage documented
the "calloc(howmany(max+1, NFDBITS), sizeof(fd_mask))" idiom.  Since then we
completed converting the entire tree to poll(2), for many reasons, even 
ssh/sshd.
Now the use of kernel-only sys/param.h-found howmany() and related macross grate
on me, so it is time to recommend use of poll(2) instead.  [On a related note,
MacOS poll(2) is been dangerously broken for many years; that is their problem 
to
handle as the whole ecosystem joins us in pivoting select -> poll)
ok millert

Reply via email to