]> Savannah Git Hosting - gnulib.git/commitdiff
doc: Mention xstrerror.
authorBruno Haible <bruno@clisp.org>
Thu, 5 Oct 2023 20:39:52 +0000 (22:39 +0200)
committerBruno Haible <bruno@clisp.org>
Thu, 5 Oct 2023 20:39:52 +0000 (22:39 +0200)
* doc/posix-functions/strerror_r.texi: Mention xstrerror.

ChangeLog
doc/posix-functions/strerror_r.texi

index 6df9aaaef71c89313615be988a127110a56e6cbb..1a0dcd159701192532446ec086d4db5e7aeb1bd4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 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.
index d0b35a6ba9fa0a644574784bd31d35b69606a3f6..2e622cd8d761fe927f746a84102c8708e9491ac2 100644 (file)
@@ -86,3 +86,8 @@ OpenBSD 4.7.
 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.)