Skip to main content

parent_id

Function parent_id 

Source
pub fn parent_id() -> Option<u32>
Expand description

This process’s parent, or None when it has none (an orphan adopted by init reports init) or the OS does not say. Windows: from a process snapshot, cached after the first call.