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