fcntl.2: Minor wording fix for F_DUPFD

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2016-08-24 11:29:35 +12:00
parent 4529738e46
commit 6a459f6fee
1 changed files with 4 additions and 5 deletions

View File

@ -106,11 +106,10 @@ indicating that the kernel does not recognize this value.
.SS Duplicating a file descriptor
.TP
.BR F_DUPFD " (\fIint\fP)"
Find the lowest numbered available file descriptor
greater than or equal to
.I arg
and make it be a copy of
.IR fd .
Duplicate the file descriptor
.IR fd
using the lowest-numbered available file descriptor greater than or equal to
.IR arg .
This is different from
.BR dup2 (2),
which uses exactly the file descriptor specified.