gid_t getegid(void);
Returns the effective group ID of the current process.
getgid, setgid, setegid, setregid