Function nix::unistd::setegid

pub fn setegid(egid: Gid) -> Result<()>
Documentation

Set the effective group ID

See also setegid(2)