pub fn setpgid(pid: Option<Pid>, pgid: Option<Pid>) -> Result<(), Errno> ⓘ
dep_rustix
setpgid(pid, pgid)—Sets the process group ID of the given process.
setpgid(pid, pgid)