summaryrefslogtreecommitdiffstats
path: root/man2/getgid.2
diff options
context:
space:
mode:
Diffstat (limited to 'man2/getgid.2')
-rw-r--r--man2/getgid.240
1 files changed, 21 insertions, 19 deletions
diff --git a/man2/getgid.2 b/man2/getgid.2
index efca9a7fc..a1f64e00a 100644
--- a/man2/getgid.2
+++ b/man2/getgid.2
@@ -2,7 +2,7 @@
.\"
.\" SPDX-License-Identifier: Linux-man-pages-copyleft
.\"
-.TH getgid 2 2022-10-30 "Linux man-pages 6.03"
+.TH getgid 2 2023-03-30 "Linux man-pages 6.05.01"
.SH NAME
getgid, getegid \- get group identity
.SH LIBRARY
@@ -27,9 +27,27 @@ and never modify
.\" https://www.austingroupbugs.net/view.php?id=511
.\" 0000511: getuid and friends should not modify errno
.IR errno .
+.SH VERSIONS
+On Alpha, instead of a pair of
+.BR getgid ()
+and
+.BR getegid ()
+system calls, a single
+.BR getxgid ()
+system call is provided, which returns a pair of real and effective GIDs.
+The glibc
+.BR getgid ()
+and
+.BR getegid ()
+wrapper functions transparently deal with this.
+See
+.BR syscall (2)
+for details regarding register mapping.
.SH STANDARDS
-POSIX.1-2001, POSIX.1-2008, 4.3BSD.
-.SH NOTES
+POSIX.1-2008.
+.SH HISTORY
+POSIX.1-2001, 4.3BSD.
+.PP
The original Linux
.BR getgid ()
and
@@ -45,22 +63,6 @@ The glibc
and
.BR getegid ()
wrapper functions transparently deal with the variations across kernel versions.
-.PP
-On Alpha, instead of a pair of
-.BR getgid ()
-and
-.BR getegid ()
-system calls, a single
-.BR getxgid ()
-system call is provided, which returns a pair of real and effective GIDs.
-The glibc
-.BR getgid ()
-and
-.BR getegid ()
-wrapper functions transparently deal with this.
-See
-.BR syscall (2)
-for details regarding register mapping.
.SH SEE ALSO
.BR getresgid (2),
.BR setgid (2),