summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorjilles <jilles@FreeBSD.org>2012-11-01 09:38:28 +0000
committerjilles <jilles@FreeBSD.org>2012-11-01 09:38:28 +0000
commit4be8d9368b2752c5c873a42e74731566ce1d37fe (patch)
treebf4b6c61d825e0712e1ad5ed05e0efeb7c5f4845 /lib
parentaf804d4258de93bbcc8b38255b35e2c449656341 (diff)
downloadFreeBSD-src-4be8d9368b2752c5c873a42e74731566ce1d37fe.zip
FreeBSD-src-4be8d9368b2752c5c873a42e74731566ce1d37fe.tar.gz
fcntl(2): Fix typos in name of constant "F_DUP2FD_CLOEXEC".
MFC after: 1 week
Diffstat (limited to 'lib')
-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 63d6510..c174563 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
OpenPOWER on IntegriCloud