GETGIDSection: Linux Programmer's Manual (2)Updated: 1993-07-23 |
GETGIDSection: Linux Programmer's Manual (2)Updated: 1993-07-23 |
gid_t getgid(void);
gid_t getegid(void);
getegid returns the effective group ID of the current process.
The real ID corresponds to the ID of the calling process. The effective ID corresponds to the set ID bit on the file being executed.