February 2012
Intermediate to advanced
1184 pages
37h 17m
English
getpgrp PIDThis function returns the current process group for the
specified PID (use a
PID of 0
for the current process). Invoking getpgrp will raise an exception if used on a
machine that doesn’t implement getpgrp(2). If
PID is omitted, the function returns the
process group of the current process (the same as using a
PID of 0).
On systems implementing this operator with the POSIX
getpgrp(2) syscall, PID
must be omitted or, if supplied, it must be 0.
Read now
Unlock full access