* doc/posix-functions/strerror_r.texi: Mention xstrerror.
2023-10-05 Bruno Haible <bruno@clisp.org>
+ doc: Mention xstrerror.
+ * doc/posix-functions/strerror_r.texi: Mention xstrerror.
+
xstrerror: Add tests.
* tests/test-xstrerror.c: New file.
* modules/xstrerror-tests: New file.
Portability problems not fixed by Gnulib:
@itemize
@end itemize
+
+Note: Gnulib has a module @code{xstrerror}, with the property that
+@code{xstrerror (NULL, errnum)} returns the value of @code{strerror_r}
+as a freshly allocated string.
+(Recall that the expression @code{strerror (errnum)} is not multithread-safe.)