1 .\" Copyright (c) 1983 Regents of the University of California.
2 .\" All rights reserved. The Berkeley software License Agreement
3 .\" specifies the terms and conditions for redistribution.
5 .\" @(#)getgid.2 6.2 (Berkeley) 1/7/86
7 .TH GETGID 2 "January 7, 1986"
10 getgid, getegid \- get group identity
14 #include <sys/types.h>
22 returns the real group ID of the current process,
24 the effective group ID.
26 The real group ID is specified at login time.
28 The effective group ID is more transient, and determines
29 additional access permission during execution of a
30 ``set-group-ID'' process, and it is for such processes
31 that \fBgetgid\fP is most useful.