aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/sys/fork.2
diff options
context:
space:
mode:
authorTim Vanderhoek <hoek@FreeBSD.org>1997-12-26 16:11:49 +0000
committerTim Vanderhoek <hoek@FreeBSD.org>1997-12-26 16:11:49 +0000
commit02e6c12b3c3fc32e6f038181de6a410a7d63a845 (patch)
tree820efc93e4e1c9247eae904f77df5aeefd1bc0e6 /lib/libc/sys/fork.2
parent44099f9129b83daf2cf174d9c1cafdb798260660 (diff)
downloadsrc-02e6c12b3c3fc32e6f038181de6a410a7d63a845.tar.gz
src-02e6c12b3c3fc32e6f038181de6a410a7d63a845.zip
fork() checks RLIMIT_NPROC, not RLIMIT_NOFILE.
pr: docs/5260 submitted-by: Niall Smart [3]njs3@doc.ic.ac.uk
Notes
Notes: svn path=/head/; revision=32001
Diffstat (limited to 'lib/libc/sys/fork.2')
-rw-r--r--lib/libc/sys/fork.22
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/sys/fork.2 b/lib/libc/sys/fork.2
index e3822cf39182..f84cd1bab665 100644
--- a/lib/libc/sys/fork.2
+++ b/lib/libc/sys/fork.2
@@ -106,7 +106,7 @@ MIB variable
.It Bq Er EAGAIN
The user is not the super user, and
the soft resource limit corresponding to the resource parameter
-.Dv RLIMIT_NOFILE
+.Dv RLIMIT_NPROC
would be exceeded (see
.Xr getrlimit 2 ) .
.It Bq Er ENOMEM