diff --git a/man2/select.2 b/man2/select.2 index b778c48cc..aee25c52c 100644 --- a/man2/select.2 +++ b/man2/select.2 @@ -70,6 +70,18 @@ Feature Test Macro Requirements for glibc (see _POSIX_C_SOURCE >= 200112L .fi .SH DESCRIPTION +.BR "WARNING" : +.BR select () +can monitor only file descriptors numbers that are less than +.BR FD_SETSIZE +(1024)\(eman unreasonably low limit for many modern applications\(emand +this limitation will not change. +All modern applications should instead use +.BR poll (2) +or +.BR epoll (7), +which do not suffer this limitation. +.PP .BR select () allows a program to monitor multiple file descriptors, waiting until one or more of the file descriptors become "ready" @@ -80,15 +92,6 @@ perform a corresponding I/O operation (e.g., or a sufficiently small .BR write (2)) without blocking. -.PP -.BR select () -can monitor only file descriptors numbers that are less than -.BR FD_SETSIZE ; -.BR poll (2) -and -.BR epoll (7) -do not have this limitation. -See BUGS. .\" .SS File descriptor sets The principal arguments of