Function nix::unistd::setresuid[][src]

pub fn setresuid(ruid: Uid, euid: Uid, suid: Uid) -> Result<()>

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

Err is returned if the user doesn’t have permission to set this UID.