getgid(2)
_________________________________________________________________
getgid System Call
Get the real-group-id.
_________________________________________________________________
SYNTAX
#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.
DG/UX 4.00 Page 1
Licensed material--property of copyright holder(s)