pub unsafe fn getpid() -> i32 ⓘ
dep_nc
Get the process ID (PID) of the calling process.
let pid = unsafe { nc::getpid() }; assert!(pid > 0);