Function nc::getegid[][src]

pub fn getegid() -> gid_t
Expand description

Get the effective group ID of the calling process.

let egid = nc::getegid();
assert!(egid > 0);