2 @subsection @code{setgroups}
5 LSB specification:@* @url{https://refspecs.linuxbase.org/LSB_5.0.0/LSB-Core-generic/LSB-Core-generic/baselib-setgroups-2.html}
11 @ref{Setting Groups,,Setting the Group IDs,libc},
14 @url{https://www.gnu.org/software/libc/manual/html_node/Setting-Groups.html},
17 @uref{https://www.kernel.org/doc/man-pages/online/pages/man2/setgroups.2.html,,man setgroups}.
22 Portability problems fixed by Gnulib:
26 Portability problems not fixed by Gnulib:
29 This function is missing on some platforms:
30 AIX 5.1, mingw, MSVC 14.
32 On very old systems, this function operated on an array of @samp{int},
33 even though that was a different size than an array of @samp{gid_t};
34 you can use autoconf's AC_TYPE_GETGROUPS to set @code{GETGROUPS_T} to
35 the appropriate size (since @code{getgroups} and @code{setgroups}