Toolbox snapshot
The Reactive C++ Toolbox
|
Go to the source code of this file.
Classes | |
struct | toolbox::sys::detail::PidFileDeleter |
Namespaces | |
namespace | toolbox |
namespace | toolbox::sys |
namespace | toolbox::sys::detail |
Typedefs | |
using | toolbox::sys::PidFile = std::unique_ptr< pidfh, detail::PidFileDeleter > |
Functions | |
PidFile | toolbox::sys::open_pid_file (const char *path, mode_t mode) |
void | toolbox::sys::close_pid_file (PidFile &pf) noexcept |
Close pidfile without removing it. This function should be used when forking daemon processes. | |
void | toolbox::sys::write_pid_file (PidFile &pf) |
Write process' PID into pidfile. | |