mirror of https://github.com/mkerrisk/man-pages
getgroups.2: Add NOTES explaining 32-bit system calls added in Linux 2.4
This commit is contained in:
parent
62eaf126c7
commit
de1fb253cc
|
@ -28,7 +28,7 @@
|
|||
.\" 2008-05-03, mtk, expanded and rewrote parts of DESCRIPTION and RETURN
|
||||
.\" VALUE, made style of page more consistent with man-pages style.
|
||||
.\"
|
||||
.TH GETGROUPS 2 2008-06-03 "Linux" "Linux Programmer's Manual"
|
||||
.TH GETGROUPS 2 2010-11-22 "Linux" "Linux Programmer's Manual"
|
||||
.SH NAME
|
||||
getgroups, setgroups \- get/set list of supplementary group IDs
|
||||
.SH SYNOPSIS
|
||||
|
@ -158,6 +158,16 @@ The maximum number of supplementary group IDs can be found using
|
|||
The maximum return value of
|
||||
.BR getgroups ()
|
||||
cannot be larger than one more than this value.
|
||||
|
||||
The original Linux
|
||||
.BR getgroups ()
|
||||
system call supported only 16-bit group IDs.
|
||||
Subsequently, Linux 2.4 added
|
||||
.BR getgroups32 (),
|
||||
supporting 32-bit IDs.
|
||||
The glibc
|
||||
.BR getgroups ()
|
||||
wrapper function transparently deals with the variation across kernel versions.
|
||||
.SH "SEE ALSO"
|
||||
.BR getgid (2),
|
||||
.BR setgid (2),
|
||||
|
|
Loading…
Reference in New Issue