Crate mz_pid_file

source ·
Expand description

PID file management for daemons.

The pid-file crate wraps the pidfile family of functions provided by BSD systems that provide mutual exclusion for daemons via PID files.

Much of the code is inherited from pidfile_rs, but the build system bundles the necessary subset of libbsd rather than relying on libbsd to be installed.


An open PID file.
pidfh 🔒


A PID file-related error.


pidfile_open 🔒
pidfile_remove 🔒
pidfile_write 🔒