fork() checks RLIMIT_NPROC, not RLIMIT_NOFILE.

pr:		docs/5260
submitted-by:	Niall Smart [3]njs3@doc.ic.ac.uk
This commit is contained in:
hoek 1997-12-26 16:11:49 +00:00
parent 57a71c2f00
commit 189dfbf9f0

View File

@ -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