getppid
- getppid
Returns the process id of the parent process.
Note for Linux users: on Linux, the C functions
getpid()andgetppid()return different values from different threads. In order to be portable, this behavior is not reflected by the perl-level functiongetppid(), that returns a consistent value across threads. If you want to call the underlyinggetppid(), you may use the CPAN moduleLinux::Pid.

