getegid(2) - Linux man page
Name
getgid, getegid - get group identitySynopsis
#include <unistd.h>#include <sys/types.h>
gid_t getgid(void);
gid_t getegid(void);
Description
getgid() returns the real group ID of the current process.getegid() returns the effective group ID of the current process.
