svn commit: r229937 - in head/lib: libc/gen libutil
Pawel Jakub Dawidek
pjd at FreeBSD.org
Tue Jan 10 22:14:34 UTC 2012
On Tue, Jan 10, 2012 at 07:53:25PM +0000, Guy Helmer wrote:
> Author: ghelmer
> Date: Tue Jan 10 19:53:25 2012
> New Revision: 229937
> URL: http://svn.freebsd.org/changeset/base/229937
>
> Log:
> Add pidfile_fileno() to obtain the file descriptor for an open
> pidfile.
>
> Modified:
> head/lib/libc/gen/getnetgrent.c
> head/lib/libutil/libutil.h
> head/lib/libutil/pidfile.3
> head/lib/libutil/pidfile.c
[...]
> Modified: head/lib/libutil/libutil.h
> ==============================================================================
> --- head/lib/libutil/libutil.h Tue Jan 10 18:43:27 2012 (r229936)
> +++ head/lib/libutil/libutil.h Tue Jan 10 19:53:25 2012 (r229937)
> @@ -170,6 +170,7 @@ struct pidfh *pidfile_open(const char *p
> int pidfile_write(struct pidfh *pfh);
> int pidfile_close(struct pidfh *pfh);
> int pidfile_remove(struct pidfh *pfh);
> +int pidfile_fileno(struct pidfh *pfh);
> #endif
>
> #ifdef _UFS_UFS_QUOTA_H_
One more thing. You also need to add link in Makefile, so that
'man pidfile_fileno' will work.
--
Pawel Jakub Dawidek http://www.wheelsystems.com
FreeBSD committer http://www.FreeBSD.org
Am I Evil? Yes, I Am! http://yomoli.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/svn-src-head/attachments/20120110/beb0f756/attachment.pgp
More information about the svn-src-head
mailing list