Sets the process group ID of the specified process.
int setpgid(int pid, int pgid) => platform.setpgid(pid, pgid);