From 3cdced2190d0fc66abb9ffe7377805474497e605 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Tue, 13 Jan 2015 10:19:46 +0100 Subject: [PATCH] dup.2: Add reference to RLIMIT_NOFILE for EMFILE error Signed-off-by: Michael Kerrisk --- man2/dup.2 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/man2/dup.2 b/man2/dup.2 index ff2ed2efc..c7536b1a4 100644 --- a/man2/dup.2 +++ b/man2/dup.2 @@ -196,7 +196,10 @@ was equal to .TP .B EMFILE 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 .BR dup3 () was added to Linux in version 2.6.27;