=over =item setpgrp PID,PGRP X X Sets the current process group for the specified PID, C<0> for the current process. Raises an exception when used on a machine that doesn't implement POSIX L or BSD L. If the arguments are omitted, it defaults to C<0,0>. Note that the BSD 4.2 version of L|/setpgrp PID,PGRP> does not accept any arguments, so only C is portable. See also L|POSIX/C>. Portability issues: L. =back