Function nc::geteuid[][src]

pub fn geteuid() -> uid_t
Expand description

Get the effective user ID of the calling process.

let euid = nc::geteuid();
assert!(euid > 0);