GETEGID(3) Library Functions Manual GETEGID(3)
NAME
getegid — get the
effective group ID
SYNOPSIS
#include <sys/types.h> #include <unistd.h> gid_t getegid(void);
DESCRIPTION
The getegid() function returns the effective group ID of the calling process.
RETURN VALUE
The getegid() function is always successful and no return value is reserved to indicate an error.
ERRORS
No errors are defined.
EXAMPLES
None.
APPLICATION USAGE
None.
FUTURE DIRECTIONS
None.
SEE ALSO
getgid(3) , setgid(3) , <sys/types.h> , <unistd.h> .
DERIVATION
Derived from Issue 1 of the SVID.
February 1997 posix.fail