|
posix_getegidReturn the effective group ID of the current process Description
int posix_getegid()
Return the numeric effective group ID of the current process. ParametersThis function has no parameters. Return ValuesReturns an int of the effective group ID. Examples
Example #1 posix_getegid example This example will print out the effective group id, once it is changed with posix_setegid.
Notesposix_getegid is different than posix_getgid because effective group ID can be changed by a calling process using posix_setegid. See Also
|