Returns the effective group ID.
Syntax |
|
#include <sys/types.h>
#include <unistd.h>
gid_t getegid (void);
|
Parameters |
|
None.
Return Values |
|
The effective group ID of the calling process.
Description |
|
The getegid() function returns the effective group ID (GID) of the calling process.
Implementation Considerations |
|
None.
Errors |
|
None.
See Also |
|
getgid(), geteuid(), getuid(), POSIX.1 (Section 4.2.1)