Skip to main content

self_process_tree

Function self_process_tree 

Source
pub fn self_process_tree() -> &'static HashSet<u32>
Expand description

Returns the current process + all ancestor PIDs (via getppid chain). Memoized for the lifetime of the process — the ancestry does not change during a single gw invocation.