Function redox_users::get_euid
[−]
[src]
pub fn get_euid() -> Result<usize>
Gets the current process effective user ID.
This function issues the geteuid
system call returning the process effective
user id.
Examples
Basic usage:
let euid = get_euid().unwrap();