Function nix::unistd::getppid[][src]

pub fn getppid() -> Pid

Get the pid of this processes' parent (see getpid(2)).

There is always a parent pid to return, so there is no error case that needs to be handled.