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