Get the process group of this or another process.
fn process_group(pid: Option<i32>) -> Result<i32, Errno>
The process whose process group to return or None to get the process group of this process.
None
getpgid(2)