setgroups
---------

LSB specification:
 https://refspecs.linuxbase.org/LSB_5.0.0/LSB-Core-generic/LSB-Core-generic/baselib-setgroups-2.html

Documentation:

  * Setting the Group IDs (libc),

  * man setgroups.

Gnulib module: ---

Portability problems fixed by Gnulib:

Portability problems not fixed by Gnulib:

  * This function is missing on some platforms: AIX 5.1, mingw, MSVC 14.

  * On very old systems, this function operated on an array of int, even though that was a different size than an array of gid_t; you can use autoconf's AC_TYPE_GETGROUPS to set GETGROUPS_T to the appropriate size (since getgroups and setgroups share the same bug).