pub unsafe fn geteuid() -> u32 ⓘ
dep_nc
Get the effective user ID of the calling process.
let euid = unsafe { nc::geteuid() }; assert!(euid > 0);