Perl Home
PERL Functions
© 2011 TutorialsPoint.COM
|
PERL getpgrp Function
Syntax
Definition and Usage
Returns the process group for the process ID specified by EXPR, or the current process group if none is specified.
Return Value
Example
Try out following example:
#!/usr/bin/perl
$pgid = getpgrp();
print "Current process Group ID $pgid\n";
|
|

|
|
|