summaryrefslogtreecommitdiff
path: root/gnulib/doc/posix-functions/getgroups.texi
diff options
context:
space:
mode:
Diffstat (limited to 'gnulib/doc/posix-functions/getgroups.texi')
m---------gnulib0
-rw-r--r--gnulib/doc/posix-functions/getgroups.texi34
2 files changed, 34 insertions, 0 deletions
diff --git a/gnulib b/gnulib
deleted file mode 160000
-Subproject 4fc10daa05477586fea99b6b3ca02a87d1102fa
diff --git a/gnulib/doc/posix-functions/getgroups.texi b/gnulib/doc/posix-functions/getgroups.texi
new file mode 100644
index 00000000..0e838f77
--- /dev/null
+++ b/gnulib/doc/posix-functions/getgroups.texi
@@ -0,0 +1,34 @@
+@node getgroups
+@section @code{getgroups}
+@findex getgroups
+
+POSIX specification: @url{http://www.opengroup.org/onlinepubs/9699919799/functions/getgroups.html}
+
+Gnulib module: getgroups
+
+Portability problems fixed by Gnulib:
+@itemize
+@item
+This function is missing on some platforms:
+mingw.
+@item
+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