diff options
author | ghelmer <ghelmer@FreeBSD.org> | 2012-01-12 14:13:49 +0000 |
---|---|---|
committer | ghelmer <ghelmer@FreeBSD.org> | 2012-01-12 14:13:49 +0000 |
commit | 6295f4a536a1103ac848f0910a940b40a0e2d7e9 (patch) | |
tree | a621bfa5310704f8f34d56ecfaa71f5878690df5 /lib/libutil/pidfile.3 | |
parent | c797a8475bbecf74b84ac55cdb264fba23feba0f (diff) | |
download | FreeBSD-src-6295f4a536a1103ac848f0910a940b40a0e2d7e9.zip FreeBSD-src-6295f4a536a1103ac848f0910a940b40a0e2d7e9.tar.gz |
pidfile_open() no longer uses fcntl() to set the close-on-exec flag.
Diffstat (limited to 'lib/libutil/pidfile.3')
-rw-r--r-- | lib/libutil/pidfile.3 | 3 |
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 |