Differences between current version and predecessor to the previous major change of getegid(2).
Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 2 | Last edited on Monday, December 30, 2002 3:36:22 am | by PerryLorier | |
Older page: | version 1 | Last edited on Tuesday, June 4, 2002 12:23:41 am | by perry | Revert |
@@ -1,49 +1,27 @@
-GETGID
-!!!GETGID
-NAME
-SYNOPSIS
-DESCRIPTION
-ERRORS
-CONFORMING TO
-SEE ALSO
-----
+
!!NAME
-getgid,
getegid - get group identity
+getegid - get effective
group identity
!!SYNOPSIS
-__#include __
-#include __
+
__#include <unistd.h>
__
+ __
#include <sys/types.h>
__
+ __gid_t getegid(void);__
-__gid_t getgid(void);
-gid_t getegid(void);__
!!DESCRIPTION
-
-
-__getgid__
returns the real
group ID of the current
+getegid(2)
returns the effective
group ID of the current
process.
-
-__getegid__ returns the effective group ID of the current
-process.
-
-
-The real ID corresponds to the ID of the calling process.
-
The effective ID corresponds to the set ID bit on the file
-
being executed.
+The effective ID corresponds to the set ID bit on the file being executed. See [EffectiveID] for more information
.
!!ERRORS
+This functions are always successful.
-These functions are always successful.
!!CONFORMING TO
+POSIX, BSD 4.3
-
-POSIX, BSD 4.3
!!SEE ALSO
-
-
-
setregid(2), setgid(2)
-----
+setregid(2), setgid(2), getgid(2)