rustix::process

Function setpgid

source
pub fn setpgid(pid: Option<Pid>, pgid: Option<Pid>) -> Result<()>
Expand description

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

§References