Function parent_id

fn parent_id() -> u32

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