* doc/glibc-functions/sethostname.texi: Update regarding macOS.
* doc/glibc-functions/sethostname.texi: List the affected platforms.
2021-03-21 Bruno Haible <bruno@clisp.org>
+ doc: More updates.
+ * doc/glibc-functions/sethostname.texi: Update regarding macOS.
+ * doc/glibc-functions/sethostname.texi: List the affected platforms.
+
doc: Update for macOS 11.1.
* doc/posix-headers/*.texi: Update.
* doc/glibc-headers/*.texi: Update.
@itemize
@item
The first parameter is @code{char *} instead of @code{const char *}
-on some platforms: Solaris 11 2010-11.
+on some platforms:
+Solaris 11 2010-11.
@item
The second parameter is @code{int} instead of @code{size_t}
-on some platforms: Mac OS X 10.12, MidnightBSD 2.0, Solaris 11 2010-11.
+on some platforms:
+macOS 11.1, MidnightBSD 2.0, Solaris 11 2010-11.
@end itemize
@itemize
@item
This function has a slightly incompatible declaration (the argument type being
-@samp{const char *} instead of @samp{char *}) on some platforms.
+@samp{const char *} instead of @samp{char *}) on some platforms:
+macOS 11.1, AIX 7.1, HP-UX 11.31, IRIX 6.5, Solaris 11 OpenIndiana.
@end itemize