getegid#

Synopsis#

#include <unistd.h>

gid_t getegid(void);

Description#

The getegid() function returns the effective group ID of the calling process.

Arguments: None.

Return value#

The effective group ID of the calling process.

Errors#

No errors are defined.

Implementation tasks#

  • Implement the getegid() function.