Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Feb 2012 08:43:41 +0000 (UTC)
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r231192 - head/lib/libutil
Message-ID:  <201202080843.q188hfws030638@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201202080843.q188hfws030638>