summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/libc/sys/select.27
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/libc/sys/select.2 b/lib/libc/sys/select.2
index 3de5b5e2cfd3..96ad687aefa8 100644
--- a/lib/libc/sys/select.2
+++ b/lib/libc/sys/select.2
@@ -162,9 +162,14 @@ The default size
the current kernel limit to the number of open files.
However, in order to accommodate programs which might potentially
use a larger number of open files with select, it is possible
-to increase this size within a program by providing
+to increase this size within a kernel by providing
a larger definition of
.Dv FD_SETSIZE
+in kernel configuration file and rebuilding a kernel.
+To increase default limit user program must define its own
+.Dv FD_SETSIZE
+which is less or equal new kernel
+.Dv FD_SETSIZE
before the inclusion of
.Aq Pa sys/types.h .
.Pp