1GETGID(2) Linux Programmer's Manual GETGID(2)
23
4
NAME
6getgid, getegid - get group identity
7
SYNOPSIS
9#include <unistd.h>
10#include <sys/types.h>
1112
gid_t getgid(void);
13gid_t getegid(void);
14
DESCRIPTION
16getgid() returns the real group ID of the current process.
1718
getegid() returns the effective group ID of the current process.
19
ERRORS
21These functions are always successful.
22
CONFORMING TO
24POSIX.1-2001, 4.3BSD
25
SEE ALSO
27setgid(2), setregid(2)
2829
30
31
Linux 0.99.11 1993-07-23 GETGID(2)