]> Savannah Git Hosting - gnulib.git/commitdiff
doc: More details about pthread_setname_np.
authorBruno Haible <bruno@clisp.org>
Tue, 3 Sep 2024 20:25:29 +0000 (22:25 +0200)
committerBruno Haible <bruno@clisp.org>
Tue, 3 Sep 2024 20:26:07 +0000 (22:26 +0200)
Reported by Eric Gallager <egall@gwmail.gwu.edu> in
<https://lists.gnu.org/archive/html/bug-gnulib/2024-09/msg00017.html>.

* doc/glibc-functions/pthread_setname_np.texi: Mention the different
signature on macOS.

ChangeLog
doc/glibc-functions/pthread_setname_np.texi

index a281d657a25f093a9c6fd7b6ea7c21fe5d2384f0..a86f4ee321930b35459f24f898a093e1f1cefc9b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2024-09-03  Bruno Haible  <bruno@clisp.org>
+
+       doc: More details about pthread_setname_np.
+       Reported by Eric Gallager <egall@gwmail.gwu.edu> in
+       <https://lists.gnu.org/archive/html/bug-gnulib/2024-09/msg00017.html>.
+       * doc/glibc-functions/pthread_setname_np.texi: Mention the different
+       signature on macOS.
+
 2024-09-03  Simon Josefsson  <simon@josefsson.org>
 
        syntax-check: Catch all FSF postal addresses.
index 965a026660455189320da6aca6e935161e79bf7f..4b1dcdb737eceecff7e3fe5c1ed1678ba8d38ee3 100644 (file)
@@ -17,7 +17,8 @@ This function is missing on many non-glibc platforms:
 glibc 2.11, Mac OS X 10.5, FreeBSD 12.0, OpenBSD 7.5, Minix 3.1.8, AIX 7.1, HP-UX 11.31, Solaris 11.0, Cygwin 1.7.x, mingw, MSVC 14.
 @item
 This function has a different signature on some platforms:
-NetBSD 10.0.
+macOS 14, NetBSD 10.0.
+On macOS the function takes only one argument, the name.
 On NetBSD the second argument is interpreted as a @code{printf} format string,
 with the third argument as parameter.
 @end itemize