Function lrs::syscall::getresuid

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

Syntax

fn getresuid(ruid: &mut u32, euid: &mut u32, suid: &mut u32) -> i32

Arguments

NameDescription
ruid

The place where the real id will be stored.

euid

The place where the effective id will be stored.

suid

The place where the saved id will be stored.

Return value

Returns success or an error value.

See also