History log of /src/lib/libutil++/freebsd__pidfile.3 (Results 1 – 2 of 2)
Revision Date Author Comments
# 15950312 26-Aug-2025 John Baldwin <jhb@FreeBSD.org>

libutil++: Rename manpage source files to avoid colons

To permit checking the sources out on systems such as Windows with
more restrictive file name requirements, rename the manpage source
files to

libutil++: Rename manpage source files to avoid colons

To permit checking the sources out on systems such as Windows with
more restrictive file name requirements, rename the manpage source
files to replace colons with underscrores. Use MANSRC.foo to point
<bsd.man.mk> at the new source file names.

Reviewed by: ivy
Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D51794

show more ...


# 7be913e0 04-Aug-2025 John Baldwin <jhb@FreeBSD.org>

libutil++: Add freebsd::pidfile wrapper class around struct pidfh

This class wraps the pidfile_* API from libutil. The destructor calls
pidfile_remove() when an object is destroyed. This class is

libutil++: Add freebsd::pidfile wrapper class around struct pidfh

This class wraps the pidfile_* API from libutil. The destructor calls
pidfile_remove() when an object is destroyed. This class is similar
to std::unique_ptr<> in that it retains exclusive ownership of the
pidfh object.

In addition to release and reset methods, write, close, and fileno
methods are provided as wrappers for pidfile_*.

Sponsored by: Chelsio Communications
Pull Request: https://github.com/freebsd/freebsd-src/pull/1794

show more ...