getgid.2: Add NOTES explaining 32-bit system calls added in Linux 2.4

This commit is contained in:
Michael Kerrisk 2010-11-22 08:49:24 +01:00
parent 697fa2a158
commit 7c36affc19
1 changed files with 17 additions and 1 deletions

View File

@ -22,7 +22,7 @@
.\" Formatted or processed versions of this manual, if unaccompanied by
.\" the source, must acknowledge the copyright and authors of this work.
.\"
.TH GETGID 2 1993-07-23 "Linux" "Linux Programmer's Manual"
.TH GETGID 2 2010-11-22 "Linux" "Linux Programmer's Manual"
.SH NAME
getgid, getegid \- get group identity
.SH SYNOPSIS
@ -43,6 +43,22 @@ returns the effective group ID of the calling process.
These functions are always successful.
.SH "CONFORMING TO"
POSIX.1-2001, 4.3BSD.
.SH NOTES
The original Linux
.BR getgid ()
and
.BR getegid ()
system calls supported only 16-bit group IDs.
Subsequently, Linux 2.4 added
.BR getgid32 ()
and
.BR getegid32 (),
supporting 32-bit IDs.
The glibc
.BR getgid ()
and
.BR getegid ()
wrapper functions transparently deal with the variations across kernel versions.
.SH "SEE ALSO"
.BR getresgid (2),
.BR setgid (2),