pidfile_open() no longer uses fcntl() to set the close-on-exec flag.

This commit is contained in:
Guy Helmer 2012-01-12 14:13:49 +00:00
parent 0113cca483
commit 50636e133d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=230010

View File

@ -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