Function std::os::unix::process::parent_id1.27.0[][src]

pub fn parent_id() -> u32
This is supported on Unix only.

Returns the OS-assigned process identifier associated with this process’s parent.