pub fn parent_id() -> u32
Available on Unix only.
Expand description

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