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 .SS Duplicating a file descriptor
.TP .TP
.BR F_DUPFD " (\fIint\fP)" .BR F_DUPFD " (\fIint\fP)"
Find the lowest numbered available file descriptor Duplicate the file descriptor
greater than or equal to .IR fd
.I arg using the lowest-numbered available file descriptor greater than or equal to
and make it be a copy of .IR arg .
.IR fd .
This is different from This is different from
.BR dup2 (2), .BR dup2 (2),
which uses exactly the file descriptor specified. which uses exactly the file descriptor specified.