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