.\" Copyright (c) 1983, 1991 Regents of the University of California.
.\" %sccs.include.redist.man%
.\" @(#)getgid.2 6.3 (Berkeley) %G%
.Nd get group process identification
.Fd #include <sys/types.h>
function returns the real group ID of the calling process,
returns the effective group ID of the calling process.
The real group ID is specified at login time.
The real group ID is the group of the user who invoked the program.
As the effective group ID gives the process additional permissions
is used to determine the real-user-id of the calling process.
functions are always successful, and no return value is reserved to
conform to IEEE Std 1003.1-1988