Author: pjd Date: Wed Feb 8 08:43:41 2012 New Revision: 231192 URL: http://svn.freebsd.org/changeset/base/231192
Log: Note that calling pidfile_write(3) multiple times is fine. MFC after: 3 days Modified: head/lib/libutil/pidfile.3 Modified: head/lib/libutil/pidfile.3 ============================================================================== --- head/lib/libutil/pidfile.3 Wed Feb 8 08:42:17 2012 (r231191) +++ head/lib/libutil/pidfile.3 Wed Feb 8 08:43:41 2012 (r231192) @@ -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-exe 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 _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "[email protected]"
