pub fn setpgid(pid: i32, pgid: i32) -> Result<(), CoreError>
Set the process group ID of pid to pgid (use 0 for self).
pid
pgid