Hash :
e69d5120
Author :
Date :
2024-09-03T22:25:29
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.
@node pthread_setname_np
@subsection @code{pthread_setname_np}
@findex pthread_setname_np
Documentation:@* @uref{https://www.kernel.org/doc/man-pages/online/pages/man3/pthread_setname_np.3.html,,man pthread_setname_np}
Gnulib module: ---
Portability problems fixed by Gnulib:
@itemize
@end itemize
Portability problems not fixed by Gnulib:
@itemize
@item
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:
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