mirror of https://github.com/mkerrisk/man-pages
fcntl.2: Minor wording fix for F_DUPFD
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
4529738e46
commit
6a459f6fee
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue