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

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.