11.25.7 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 9, Interix 3.5, BeOS.
- 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).