From: Bruno Haible Date: Tue, 3 Sep 2024 20:25:29 +0000 (+0200) Subject: doc: More details about pthread_setname_np. X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=e69d5120b3d2162c54ae8072a5193cfc8c029943;p=gnulib.git doc: More details about pthread_setname_np. Reported by Eric Gallager in . * doc/glibc-functions/pthread_setname_np.texi: Mention the different signature on macOS. --- diff --git a/ChangeLog b/ChangeLog index a281d657a2..a86f4ee321 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2024-09-03 Bruno Haible + + doc: More details about pthread_setname_np. + Reported by Eric Gallager in + . + * doc/glibc-functions/pthread_setname_np.texi: Mention the different + signature on macOS. + 2024-09-03 Simon Josefsson syntax-check: Catch all FSF postal addresses. diff --git a/doc/glibc-functions/pthread_setname_np.texi b/doc/glibc-functions/pthread_setname_np.texi index 965a026660..4b1dcdb737 100644 --- a/doc/glibc-functions/pthread_setname_np.texi +++ b/doc/glibc-functions/pthread_setname_np.texi @@ -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