Function std::os::unix::process::parent_id    
                   
                       [−]
                   
               [src]
pub fn parent_id() -> u32
This is supported on Unix only.
Returns the OS-assigned process identifier associated with this process's parent.