Skip to main content

setpgid

Function setpgid 

Source
pub fn setpgid(pid: isize, pgid: isize) -> Result<usize, Error>
Expand description

Set process group ID.

pid == 0 targets the current process, pgid == 0 uses target pid.