summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/select.2
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1995-04-04 01:27:54 +0000
committerache <ache@FreeBSD.org>1995-04-04 01:27:54 +0000
commit905b232bc759fa0adfd9088ef7997db5486a83ac (patch)
tree416a56da8af0cdb8d74cc720ebd198de60800baf /lib/libc/sys/select.2
parent1fa4f508ae06734eb3ae304082ac664cf1c0a417 (diff)
downloadFreeBSD-src-905b232bc759fa0adfd9088ef7997db5486a83ac.zip
FreeBSD-src-905b232bc759fa0adfd9088ef7997db5486a83ac.tar.gz
Properly describe how to expand default limit of handled descriptors
Diffstat (limited to 'lib/libc/sys/select.2')
-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 3de5b5e..96ad687 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
OpenPOWER on IntegriCloud