HomeManualTopicsTypesSymbols

std::getegid

returns the effective group ID

Parameters

None

Result

id: an integer describing the effective group ID

Description

This function needs I/O-access rights.

Topic

POSIX

See also

std::geteuid returns the effective user id
std::getgid returns the real group ID
std::getuid returns the real user ID