summaryrefslogtreecommitdiff
path: root/lib/libc/sys
diff options
context:
space:
mode:
authorJilles Tjoelker <jilles@FreeBSD.org>2012-11-08 13:40:46 +0000
committerJilles Tjoelker <jilles@FreeBSD.org>2012-11-08 13:40:46 +0000
commit00b7f5f85419ec2c9c242b3124f54fc526737812 (patch)
treedacbb7bfabf29b964babe06b55f13243cb7839ea /lib/libc/sys
parentdfab7a2a593c71d8b2cbf17ee3a36ffbb2de85ff (diff)
Notes
Diffstat (limited to 'lib/libc/sys')
-rw-r--r--lib/libc/sys/fcntl.24
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/sys/fcntl.2 b/lib/libc/sys/fcntl.2
index d15dfb538df2..8ae3a59e4248 100644
--- a/lib/libc/sys/fcntl.2
+++ b/lib/libc/sys/fcntl.2
@@ -94,7 +94,7 @@ It is functionally equivalent to
.Bd -literal -offset indent
dup2(fd, arg)
.Ed
-.It Dv F_DU2PFD_CLOEXEC
+.It Dv F_DUP2FD_CLOEXEC
Like
.Dv F_DUP2FD ,
but the
@@ -104,7 +104,7 @@ flag associated with the new file descriptor is set.
The
.Dv F_DUP2FD
and
-.Dv F_DUP2DF_CLOEXEC
+.Dv F_DUP2FD_CLOEXEC
constants are not portable, so they should not be used if
portability is needed.
Use