pthread-cond: Fix compilation error on native Windows.
[gnulib.git] / doc / glibc-functions / setgroups.texi
blob7b2c2b787d38cc19233dafdf662cb985b4b00779
1 @node setgroups
2 @subsection @code{setgroups}
3 @findex setgroups
5 LSB specification:@* @url{https://refspecs.linuxbase.org/LSB_5.0.0/LSB-Core-generic/LSB-Core-generic/baselib-setgroups-2.html}
7 Documentation:
8 @itemize
9 @item
10 @ifinfo
11 @ref{Setting Groups,,Setting the Group IDs,libc},
12 @end ifinfo
13 @ifnotinfo
14 @url{https://www.gnu.org/software/libc/manual/html_node/Setting-Groups.html},
15 @end ifnotinfo
16 @item
17 @uref{https://www.kernel.org/doc/man-pages/online/pages/man2/setgroups.2.html,,man setgroups}.
18 @end itemize
20 Gnulib module: ---
22 Portability problems fixed by Gnulib:
23 @itemize
24 @end itemize
26 Portability problems not fixed by Gnulib:
27 @itemize
28 @item
29 This function is missing on some platforms:
30 AIX 5.1, mingw, MSVC 14.
31 @item
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}
36 share the same bug).
37 @end itemize