getegid(2)
DESCRIPTION
Returns the calling process's effective group ID.
SYNOPSIS
long getegid(void);
RETURN VALUE
- Returns the effective GID, or -ESRCH when no current process exists.
ERRORS
-ESRCH- There is no current process.
NOTES
The effective GID selects group permission checks.