Function nix::unistd::getresuid [−][src]
pub fn getresuid() -> Result<ResUid>
Expand description
Gets the real, effective, and saved user IDs.
#Returns
Ok((Uid, Uid, Uid))
: tuple of real, effective and saved uids on success.Err(x)
: libc error code on failure.