pub fn getpid() -> pid_t
Get the process ID (PID) of the calling process.
let pid = nc::getpid(); assert!(pid > 0);