pub fn getuid() -> uid_t
Get the real user ID of the calling process.
let uid = nc::getuid(); assert!(uid > 0);