[][src]Function nix::unistd::setresgid

pub fn setresgid(rgid: Gid, egid: Gid, sgid: Gid) -> Result<()>

Sets the real, effective, and saved gid. (see setresuid(2))

Err is returned if the user doesn't have permission to set this GID.