Tutorials Point


  Perl Home

  PERL Functions

© 2011 TutorialsPoint.COM


  Home     References     About TP     Advertising  

PERL getppid Function



Syntax

getppid


Definition and Usage

Returns the process ID of the parent process.

Return Value

  • Process ID of the parent process

Example

Try out following example:
#!/usr/bin/perl

$ppid = getppid();

print "Parent Process ID $ppid\n";



Printer Friendly



  

Advertisement

Online Image Processing

Indian Baby Names