pub fn parent_id() -> u32
Returns the OS-assigned process identifier associated with this process's parent.
© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/std/os/unix/process/fn.parent_id.html