From: Bruno Haible Date: Sat, 22 Apr 2017 12:39:09 +0000 (+0200) Subject: sethostname: Update doc. X-Git-Tag: v1.0~6259 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=9c84fea634cf7e14e4342c7cc59558393cc2fb6c;p=gnulib.git sethostname: Update doc. * doc/glibc-functions/sethostname.texi: Mention differing prototype on Mac OS X. --- 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