X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=doc%2Fposix-functions%2Fgetgroups.texi;h=0e838f77cd17473c3130030c26120c483afa473b;hb=54b5ce0e1a4f6a4af37f970e45e6e173e5b0a1c6;hp=951705e8a522b4c70cc42bef2e5f7a2a9e8c7869;hpb=09ef7461110822a3970aa8eebcfaa740996a82f2;p=gnulib.git diff --git a/doc/posix-functions/getgroups.texi b/doc/posix-functions/getgroups.texi index 951705e8a..0e838f77c 100644 --- a/doc/posix-functions/getgroups.texi +++ b/doc/posix-functions/getgroups.texi @@ -12,10 +12,23 @@ Portability problems fixed by Gnulib: This function is missing on some platforms: mingw. @item -On Ultrix 4.3, @code{getgroups (0, 0)} always fails. See macro +On some platforms, this function fails to reject a negative count, +even though that is less than the size that would be returned: +FreeBSD 7.2. +@item +On Ultrix 4.3, @code{getgroups (0, NULL)} always fails. See macro @samp{AC_FUNC_GETGROUPS}. +@item +On very old systems, this function operated on an array of @samp{int}, +even though that was a different size than an array of @samp{gid_t}. @end itemize Portability problems not fixed by Gnulib: @itemize +@item +It is unspecified whether the effective group id will be included in +the returned list, nor whether the list will be sorted in any +particular order. For that matter, some platforms include the +effective group id twice, if it is also a member of the current +supplemental group ids. @end itemize