dup.2: Add reference to RLIMIT_NOFILE for EMFILE error

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2015-01-13 10:19:46 +01:00
parent 7ef5b2cd0a
commit 3cdced2190
1 changed files with 4 additions and 1 deletions

View File

@ -196,7 +196,10 @@ was equal to
.TP .TP
.B EMFILE .B EMFILE
The process already has the maximum number of file The process already has the maximum number of file
descriptors open and tried to open a new one. descriptors open and tried to open a new one (see the discussion of
.BR RLIMIT_NOFILE
in
.BR getrlimit (2)).
.SH VERSIONS .SH VERSIONS
.BR dup3 () .BR dup3 ()
was added to Linux in version 2.6.27; was added to Linux in version 2.6.27;