[][src]Function nc::setpgid

pub fn setpgid(pid: pid_t, pgid: pid_t) -> Result<(), Errno>

Set the process group ID (PGID) of the process specified by pid to pgid.