pub fn geteuid() -> uid_t
Get the effective user ID of the calling process.
let euid = nc::geteuid(); assert!(euid > 0);