Perl Programming/Keywords/getppid

Previous: getpgrp Keywords Next: getpriority

The getppid keyword

edit

The getppid function returns the process ID of the parent process.

Syntax

edit
  getppid

Examples

edit
   print getppid;
Previous: getpgrp Keywords Next: getpriority