getegid - get effective group identity
getegid(2) returns the effective group ID of the current
The effective ID corresponds to the set ID bit on the file being executed. See EffectiveID for more information.
This functions are always successful.
POSIX, BSD 4.3
setregid(2), setgid(2), getgid(2)