pub unsafe fn getgid() -> gid_t
Get the real group ID of the calling process.
let gid = unsafe { nc::getgid() }; assert!(gid > 0);