pidfile_open() no longer uses fcntl() to set the close-on-exec flag.
This commit is contained in:
parent
0113cca483
commit
50636e133d
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user