get_euid

Function get_euid 

Source
pub fn get_euid() -> Result<usize, Error>
Expand description

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();