setpgid#
Put process $pid into process group $pgid.
Synopsis#
POSIX::setpgid($pid, $pgid);
What you get back#
1 on success, 0 on failure. A $pid of 0 means the calling
process; a $pgid of 0 means use $pid as the new group ID.
Differences from upstream#
Fully compatible with upstream POSIX.