Function nix::unistd::seteuid

pub fn seteuid(euid: Uid) -> Result<()>
Documentation

Set the effective user ID

See also seteuid(2)