diff --git a/man2/getuid.2 b/man2/getuid.2 index afa59d47f..89975ed22 100644 --- a/man2/getuid.2 +++ b/man2/getuid.2 @@ -23,7 +23,7 @@ .\" the source, must acknowledge the copyright and authors of this work. .\" .\" Historical remark, aeb, 2004-06-05 -.TH GETUID 2 1993-07-23 "Linux" "Linux Programmer's Manual" +.TH GETUID 2 2010-11-22 "Linux" "Linux Programmer's Manual" .SH NAME getuid, geteuid \- get user identity .SH SYNOPSIS @@ -54,6 +54,22 @@ UNIX V7 introduced separate calls .BR getuid () and .BR geteuid (). +.SH NOTES +The original Linux +.BR getuid () +and +.BR geteuid () +system calls supported only 16-bit user IDs. +Subsequently, Linux 2.4 added +.BR getuid32 () +and +.BR geteuid32 (), +supporting 32-bit IDs. +The glibc +.BR getuid () +and +.BR geteuid () +wrapper functions transparently deal with the variations across kernel versions. .SH "SEE ALSO" .BR getresuid (2), .BR setreuid (2),