From 9c84fea634cf7e14e4342c7cc59558393cc2fb6c Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sat, 22 Apr 2017 14:39:09 +0200 Subject: [PATCH] sethostname: Update doc. * doc/glibc-functions/sethostname.texi: Mention differing prototype on Mac OS X. --- ChangeLog | 6 ++++++ doc/glibc-functions/sethostname.texi | 8 +++++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3ffc954a8c..e3109e10b7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2017-04-22 Bruno Haible + + sethostname: Update doc. + * doc/glibc-functions/sethostname.texi: Mention differing prototype on + Mac OS X. + 2017-04-22 Bruno Haible quotearg tests: Avoid warnings. diff --git a/doc/glibc-functions/sethostname.texi b/doc/glibc-functions/sethostname.texi index b5afec81ac..ee05ab0387 100644 --- a/doc/glibc-functions/sethostname.texi +++ b/doc/glibc-functions/sethostname.texi @@ -18,7 +18,9 @@ AIX 7.1, OSF/1 5.1, Solaris 10. Portability problems not fixed by Gnulib: @itemize @item -On Solaris 11 2010-11, the first argument is @code{char *} instead of -@code{const char *} and the second parameter is @code{int} instead of -@code{size_t}. +The first parameter is @code{char *} instead of @code{const char *} +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, Solaris 11 2010-11. @end itemize -- 2.39.5