summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorghelmer <ghelmer@FreeBSD.org>2012-01-12 14:13:49 +0000
committerghelmer <ghelmer@FreeBSD.org>2012-01-12 14:13:49 +0000
commit6295f4a536a1103ac848f0910a940b40a0e2d7e9 (patch)
treea621bfa5310704f8f34d56ecfaa71f5878690df5
parentc797a8475bbecf74b84ac55cdb264fba23feba0f (diff)
downloadFreeBSD-src-6295f4a536a1103ac848f0910a940b40a0e2d7e9.zip
FreeBSD-src-6295f4a536a1103ac848f0910a940b40a0e2d7e9.tar.gz
pidfile_open() no longer uses fcntl() to set the close-on-exec flag.
-rw-r--r--lib/libutil/pidfile.33
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libutil/pidfile.3 b/lib/libutil/pidfile.3
index c224a9b..fe5ea18 100644
--- a/lib/libutil/pidfile.3
+++ b/lib/libutil/pidfile.3
@@ -81,7 +81,7 @@ argument is
file will be used.
The
.Fn pidfile_open
-function sets the FD_CLOEXEC close-on-exec flag on the open file descriptor.
+function sets the O_CLOEXEC close-on-exec flag when opening the pidfile.
.Pp
The
.Fn pidfile_write
@@ -205,7 +205,6 @@ The
function may also fail and set
.Va errno
for any errors specified for the
-.Xr fcntl 2 ,
.Xr fstat 2 ,
.Xr open 2 ,
and
OpenPOWER on IntegriCloud