.\" Copyright (c) 1983 Regents of the University of California.
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\" @(#)getgid.2 6.2 (Berkeley) %G%
getgid, getegid \- get group identity
returns the real group ID of the current process,
The real group ID is specified at login time.
The effective group ID is more transient, and determines
additional access permission during execution of a
``set-group-ID'' process, and it is for such processes
that \fIgetgid\fP is most useful.
getuid(2), setregid(2), setgid(3)