diff --git a/man2/getgid.2 b/man2/getgid.2 index a78babc68..45e9ad9b4 100644 --- a/man2/getgid.2 +++ b/man2/getgid.2 @@ -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),