Returns the process group ID of the specified process.
int getpgid(int pid) => platform.getpgid(pid);