getuid

Function getuid 

Source
pub unsafe fn getuid() -> uid_t
Expand description

Get the real user ID of the calling process.

ยงExamples

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