X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=doc%2Fposix-functions%2Fgethostname.texi;h=1c56df6aa5fcec192751d09bffcfc1a0eb2f9ed3;hb=176cd193605775b290fee26568eec5d1ebd47f58;hp=69e38386abf7bac1f32ce044deefd940f00156b5;hpb=09ef7461110822a3970aa8eebcfaa740996a82f2;p=gnulib.git diff --git a/doc/posix-functions/gethostname.texi b/doc/posix-functions/gethostname.texi index 69e38386a..1c56df6aa 100644 --- a/doc/posix-functions/gethostname.texi +++ b/doc/posix-functions/gethostname.texi @@ -2,7 +2,7 @@ @section @code{gethostname} @findex gethostname -POSIX specification: @url{http://www.opengroup.org/onlinepubs/9699919799/functions/gethostname.html} +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/gethostname.html} Gnulib module: gethostname @@ -16,6 +16,10 @@ specified by POSIX, and it is defined only in the ws2_32 library. Portability problems not fixed by Gnulib: @itemize @item +This function's second argument type is @code{int} instead of @code{size_t} +on some platforms: +OSF/1 5.1, Solaris 10. +@item If the given buffer is too small for the host name, some implementations fail with @code{EINVAL}, instead of returning a truncated host name. @end itemize