Perl Programming/Keywords/getppid

From Wikibooks, open books for an open world
Jump to navigation Jump to search
Previous: getpgrp Keywords Next: getpriority

The getppid keyword

[edit | edit source]

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

Syntax

[edit | edit source]
  getppid

Examples

[edit | edit source]
   print getppid;
Previous: getpgrp Keywords Next: getpriority