getgid (2)
Leading comments
Copyright 1993 Rickard E. Faith (faith@cs.unc.edu) %%%LICENSE_START(VERBATIM) Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice are preserved on all copies. Permission is granted to copy and distribute modified versions of this manual under the conditions for verbatim copying, provided that the entire resulting derived work is distributed under the terms of a permission notice identical to this one. Since th...
NAME
getgid, getegid - get group identitySYNOPSIS
#include <unistd.h>#include <sys/types.h>
gid_t getgid(void);
gid_t getegid(void);
DESCRIPTION
getgid() returns the real group ID of the calling process.getegid() returns the effective group ID of the calling process.