pub(crate) unsafe extern "C" fn pidfile_open(
    path: *const c_char,
    mode: mode_t,
    pid: *const pid_t
) -> *mut pidfh