aboutsummaryrefslogtreecommitdiffstats
path: root/man2
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2016-08-24 11:29:35 +1200
committerMichael Kerrisk <mtk.manpages@gmail.com>2016-08-24 11:29:35 +1200
commit6a459f6feec745b6a77a7829509754ef0b5dda3c (patch)
treea76b89ab49f6c52245d1ddbf46b990dede421199 /man2
parent4529738e46d594bfca17cfb00acc91e96d60d383 (diff)
downloadman-pages-6a459f6feec745b6a77a7829509754ef0b5dda3c.tar.gz
fcntl.2: Minor wording fix for F_DUPFD
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man2')
-rw-r--r--man2/fcntl.29
1 files changed, 4 insertions, 5 deletions
diff --git a/man2/fcntl.2 b/man2/fcntl.2
index 19dd9f3201..6795dc35f2 100644
--- a/man2/fcntl.2
+++ b/man2/fcntl.2
@@ -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.