pub fn get_euid() -> Result<usize, Error>
Gets the current process effective user ID.
This function issues the geteuid system call returning the process effective user id.
geteuid
Basic usage:
let euid = get_euid().unwrap();