[][src]Function linux::syscall::getresuid

pub fn getresuid(ruid: &mut uid_t, euid: &mut uid_t, suid: &mut uid_t) -> c_int

Retrieves the real, effective, and saved user ids of the process.

[argument, ruid] The place where the real id will be stored.

[argument, euid] The place where the effective id will be stored.

[argument, suid] The place where the saved id will be stored.

[return_value] Returns success or an error value.

= See also

  • link:man:getresuid(2)