mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
fcntl(2): Fix typos in name of constant "F_DUP2FD_CLOEXEC".
MFC after: 1 week
This commit is contained in:
parent
e1ed9697d8
commit
252462b3bd
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=242429
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue