Search Results
posix_getgroups (PHP 4, PHP 5, PHP 7, PHP 8) posix_getgroups — Return the group set of the current process
The related function setgroups () is a privileged operation and therefore is not covered by this volume of POSIX.1-2024. As implied by the definition of supplementary groups, the effective group ID may appear in the array returned by getgroups () or it may be returned only by getegid ().
not covered by POSIX.1. The original Linux getgroups () system call supported only 16-bit group IDs. Subsequently, Linux 2.4 added getgroups32 (), supporting 32-bit IDs. The glibc getgroups () wrapper function transparently deals with the variation across kernel versions. NOTES top A process can have up to NGROUPS_MAX supplementary group IDs in
Returns an array of integers containing the numeric group ids of the group set of the current process. See also posix_getgrgid () for information on how to convert this into useable group names. Prev Home Next posix_getgrnam Up posix_getlogin
Examples of posix_getgroups. Info and examples on posix_getgroups PHP Function
Return Values Returns an array of integers containing the numeric group ids of the group set of the current process.
People also ask
What is glibc getgroups32?
What does setgroups() do?
How does NPTL handle POSIX requirements?
Why does setgroups fail in Linux?
posix_getgroups — Return the group set of the current process
