Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jan 2012 23:13:24 +0100
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Guy Helmer <ghelmer@FreeBSD.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r229937 - in head/lib: libc/gen libutil
Message-ID:  <20120110221323.GE1694@garage.freebsd.pl>
In-Reply-To: <201201101953.q0AJrPao025097@svn.freebsd.org>
References:  <201201101953.q0AJrPao025097@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--EXKGNeO8l0xGFBjy
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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
>=20
> Log:
>   Add pidfile_fileno() to obtain the file descriptor for an open
>   pidfile.
>=20
> 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
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D
> --- 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
> =20
>  #ifdef _UFS_UFS_QUOTA_H_

One more thing. You also need to add link in Makefile, so that
'man pidfile_fileno' will work.

--=20
Pawel Jakub Dawidek                       http://www.wheelsystems.com
FreeBSD committer                         http://www.FreeBSD.org
Am I Evil? Yes, I Am!                     http://yomoli.com

--EXKGNeO8l0xGFBjy
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (FreeBSD)

iEYEARECAAYFAk8MuAMACgkQForvXbEpPzRkhQCgmX/QK0C9wNbQBr3Iem+0Igjl
SMsAoNHS2p0GztBLdirMr7GOExffM3uk
=ibq4
-----END PGP SIGNATURE-----

--EXKGNeO8l0xGFBjy--



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