<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libutil/pidfile.3, branch release/10.3.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F10.3.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F10.3.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2012-02-08T08:49:30Z</updated>
<entry>
<title>Add a comment to the example that pidfile_* functions can handle pfh being NULL.</title>
<updated>2012-02-08T08:49:30Z</updated>
<author>
<name>Pawel Jakub Dawidek</name>
<email>pjd@FreeBSD.org</email>
</author>
<published>2012-02-08T08:49:30Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=cc1ddd46b2c9605ad1f37d20505e3ef86440775a'/>
<id>urn:sha1:cc1ddd46b2c9605ad1f37d20505e3ef86440775a</id>
<content type='text'>
MFC after:	3 days
</content>
</entry>
<entry>
<title>Note that calling pidfile_write(3) multiple times is fine.</title>
<updated>2012-02-08T08:43:41Z</updated>
<author>
<name>Pawel Jakub Dawidek</name>
<email>pjd@FreeBSD.org</email>
</author>
<published>2012-02-08T08:43:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=7f8d054f8aa98ec4697381bc16e948fa39e436d9'/>
<id>urn:sha1:7f8d054f8aa98ec4697381bc16e948fa39e436d9</id>
<content type='text'>
MFC after:	3 days
</content>
</entry>
<entry>
<title>Remove unnecessary includes from these libutil man pages.</title>
<updated>2012-01-16T21:25:41Z</updated>
<author>
<name>Guy Helmer</name>
<email>ghelmer@FreeBSD.org</email>
</author>
<published>2012-01-16T21:25:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5c005f0000cd91da1887d96e3c1393aad806a64a'/>
<id>urn:sha1:5c005f0000cd91da1887d96e3c1393aad806a64a</id>
<content type='text'>
Requested by bde (as was the previous commit).
</content>
</entry>
<entry>
<title>pidfile_open() no longer uses fcntl() to set the close-on-exec flag.</title>
<updated>2012-01-12T14:13:49Z</updated>
<author>
<name>Guy Helmer</name>
<email>ghelmer@FreeBSD.org</email>
</author>
<published>2012-01-12T14:13:49Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=50636e133d9dcc4cb2d04ea2d5a3f1a348e79cb7'/>
<id>urn:sha1:50636e133d9dcc4cb2d04ea2d5a3f1a348e79cb7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Style fixes courtesy of pjd.</title>
<updated>2012-01-10T21:47:58Z</updated>
<author>
<name>Guy Helmer</name>
<email>ghelmer@FreeBSD.org</email>
</author>
<published>2012-01-10T21:47:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4a25aa061a2afec2af21caa4f2187d8544b2ea18'/>
<id>urn:sha1:4a25aa061a2afec2af21caa4f2187d8544b2ea18</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Document that pidfile_open() now sets the FD_CLOEXEC flag on the open</title>
<updated>2012-01-10T21:39:43Z</updated>
<author>
<name>Guy Helmer</name>
<email>ghelmer@FreeBSD.org</email>
</author>
<published>2012-01-10T21:39:43Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=719060e911bee58b7b8e61ef8664ff2c73509945'/>
<id>urn:sha1:719060e911bee58b7b8e61ef8664ff2c73509945</id>
<content type='text'>
file descriptor, and that errors can be returned as a result of the
fcntl(2) system call.
</content>
</entry>
<entry>
<title>Add pidfile_fileno() to obtain the file descriptor for an open</title>
<updated>2012-01-10T19:53:25Z</updated>
<author>
<name>Guy Helmer</name>
<email>ghelmer@FreeBSD.org</email>
</author>
<published>2012-01-10T19:53:25Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f295618d06dd1b215fcd963b33c1265acea36ac9'/>
<id>urn:sha1:f295618d06dd1b215fcd963b33c1265acea36ac9</id>
<content type='text'>
pidfile.
</content>
</entry>
<entry>
<title>In pidfile_open(), if the pidfile is locked, but empty (PID is not stored yet)</title>
<updated>2011-10-16T21:30:15Z</updated>
<author>
<name>Pawel Jakub Dawidek</name>
<email>pjd@FreeBSD.org</email>
</author>
<published>2011-10-16T21:30:15Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e8cc80c0a07bf3235090c7d32b7b6b746842eba8'/>
<id>urn:sha1:e8cc80c0a07bf3235090c7d32b7b6b746842eba8</id>
<content type='text'>
and the caller requested other process' PID by passing non-NULL pidptr
argument, we will wait at most 100ms for the PID to show up in the file and if
it won't, we will store -1 in *pidptr.

From now on, pidfile_open() function never sets errno to EAGAIN on failure.

In collaboration with:	des
MFC after:		1 week
</content>
</entry>
<entry>
<title>Add missing .Pp</title>
<updated>2009-06-06T17:34:49Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2009-06-06T17:34:49Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a27c52a943d6e236977c19df7e1f86f1b667b523'/>
<id>urn:sha1:a27c52a943d6e236977c19df7e1f86f1b667b523</id>
<content type='text'>
</content>
</entry>
<entry>
<title>pidfile(3) uses flopen(3) - don't make any assumptions about how the</title>
<updated>2008-10-20T18:00:11Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2008-10-20T18:00:11Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=cb7cd07a0756ad4913c256d831461658e02e1249'/>
<id>urn:sha1:cb7cd07a0756ad4913c256d831461658e02e1249</id>
<content type='text'>
latter is implemented.
</content>
</entry>
</feed>
