getgroups: document portability issues
[gnulib.git] / doc / posix-functions / getpwuid.texi
index cfc765c..5f8308d 100644 (file)
@@ -13,6 +13,10 @@ Portability problems fixed by Gnulib:
 Portability problems not fixed by Gnulib:
 @itemize
 @item
+This function is unsafe to call between @code{fork} and @code{exec} if
+the parent process is multi-threaded.  Instead, use @code{getpwuid_r}
+prior to forking.
+@item
 This function is missing on some platforms:
 mingw, MSVC 9.
 @end itemize