mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
Note that calling pidfile_write(3) multiple times is fine.
MFC after: 3 days
This commit is contained in:
parent
799a00c0f5
commit
7f8d054f8a
1 changed files with 4 additions and 1 deletions
|
|
@ -24,7 +24,7 @@
|
|||
.\"
|
||||
.\" $FreeBSD$
|
||||
.\"
|
||||
.Dd October 16, 2011
|
||||
.Dd February 8, 2012
|
||||
.Dt PIDFILE 3
|
||||
.Os
|
||||
.Sh NAME
|
||||
|
|
@ -85,6 +85,9 @@ function sets the O_CLOEXEC close-on-exec flag when opening the pidfile.
|
|||
The
|
||||
.Fn pidfile_write
|
||||
function writes process' PID into a previously opened file.
|
||||
The file is truncated before write, so calling the
|
||||
.Fn pidfile_write
|
||||
function multiple times is supported.
|
||||
.Pp
|
||||
The
|
||||
.Fn pidfile_close
|
||||
|
|
|
|||
Loading…
Reference in a new issue