Function std::os::unix::process::parent_id

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

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