Function nix::unistd::setgid [] [src]

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

Set the user ID

See also setgid(2)