view doc/functions/gethostname.texi @ 8773:a36811c6c9b4

Documentation of what gnulib provides for each function.
author Bruno Haible <bruno@clisp.org>
date Tue, 01 May 2007 15:11:37 +0000
parents
children
line wrap: on
line source

@node gethostname
@section @code{gethostname}
@findex gethostname

POSIX specification: @url{http://www.opengroup.org/susv3xsh/gethostname.html}

Gnulib module: gethostname

Portability problems fixed by Gnulib:
@itemize
@item
This function is missing on some platforms:
mingw.
@end itemize

Portability problems not fixed by Gnulib:
@itemize
@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