darwin-libproc 0.2.0

Safe and idiomatic wrappers for macOS libproc
Documentation
1
2
3
4
5
6
#[test]
fn test_pid_path() {
    let me = unsafe { libc::getpid() };

    assert!(darwin_libproc::pid_path(me).is_ok());
}