mirror of https://github.com/mkerrisk/man-pages
dup.2: Add reference to RLIMIT_NOFILE for EBADF error on 'newfd'.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
947a6f390d
commit
aeee07f774
|
@ -155,9 +155,14 @@ is set appropriately.
|
|||
.TP
|
||||
.B EBADF
|
||||
.I oldfd
|
||||
isn't an open file descriptor, or
|
||||
isn't an open file descriptor.
|
||||
.TP
|
||||
.B EBADF
|
||||
.I newfd
|
||||
is out of the allowed range for file descriptors.
|
||||
is out of the allowed range for file descriptors (see the discussion of
|
||||
.BR RLIMIT_NOFILE
|
||||
in
|
||||
.BR getrlimit (2)).
|
||||
.TP
|
||||
.B EBUSY
|
||||
(Linux only) This may be returned by
|
||||
|
|
Loading…
Reference in New Issue