Skip to main content

parent_id

Function parent_id 

1.27.0 · Source
pub fn parent_id() -> u32
Available on non-Hermit and not ((Fortanix and SGX, or WebAssembly and non-WASI)) and (Unix) only.
Expand description

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