Function nc::getuid[][src]

pub fn getuid() -> uid_t
Expand description

Get the real user ID of the calling process.

let uid = nc::getuid();
assert!(uid > 0);