getgid - get the real group ID
#include <sys/types.h> #include <unistd.h> gid_t getgid(void);
The getgid() function returns the real group ID of the calling process.
The getgid() function is always successful and no return value is reserved to indicate an error.
No errors are defined.
None.
None.
None.
getuid(), setgid(), <sys/types.h>, <unistd.h>.
Derived from Issue 1 of the SVID.