pub fn getegid() -> gid_t
Get the effective group ID of the calling process.
let egid = nc::getegid(); assert!(egid > 0);