Function nix::unistd::setgid

pub fn setgid(gid: Gid) -> Result<()>
Documentation

Set the group ID

See also setgid(2)