getgid(2) DG/UX 4.30 getgid(2)
NAME
getgid - Get the real-group-id.
SYNOPSIS
#include <sys/types.h>
uid_t getgid ()
PARAMETERS
None.
DESCRIPTION
Getgid returns the real-group-id of the calling process.
ACCESS CONTROL
No access checking is performed.
RETURN VALUE
0..MAXUID The return value is always the real-group-id
of the calling process.
EXCEPTIONS
None.
SEE ALSO
The related system calls: getuid, geteuid, getegid, setuid,
setgid, setregid, setreuid.
Licensed material--property of copyright holder(s) Page 1