mirror of
https://git.freebsd.org/src.git
synced 2026-01-16 23:02:24 +00:00
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 |
||
|---|---|---|
| .. | ||
| Makefile | ||
| pidfile_test.cc | ||
| stringf_test.cc | ||
| up_test.cc | ||