2 @section @code{gethostname}
5 POSIX specification: @url{http://www.opengroup.org/susv3xsh/gethostname.html}
7 Gnulib module: gethostname
9 Portability problems fixed by Gnulib:
12 This function is missing on some platforms:
16 Portability problems not fixed by Gnulib:
19 If the given buffer is too small for the host name, some implementations
20 fail with @code{EINVAL}, instead of returning a truncated host name.