getegid - get effective group identity
#include <unistd.h> #include <sys/types.h>
gid_t getegid(void);
getegid(2) returns the effective group ID of the current process.
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
7 pages link to getegid(2):