Function nix::unistd::setresuid [−][src]
Expand description
Sets the real, effective, and saved uid. (see setresuid(2))
ruid
: real user ideuid
: effective user idsuid
: saved user id- returns: Ok or libc error code.
Err is returned if the user doesn’t have permission to set this UID.