devela::_dep::rustix::process

Function setpgid

pub fn setpgid(pid: Option<Pid>, pgid: Option<Pid>) -> Result<(), Errno> 
Available on crate feature dep_rustix only.
Expand description

setpgid(pid, pgid)—Sets the process group ID of the given process.

§References