Note that calling pidfile_write(3) multiple times is fine.

MFC after:	3 days
This commit is contained in:
Pawel Jakub Dawidek 2012-02-08 08:43:41 +00:00
parent 799a00c0f5
commit 7f8d054f8a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=231192

View File

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