Mwnci getegid() Function Syntax getegid() Description The getegid() function returns the numeric effective group id of the caller. Example println(getegid()) 100