view doc/posix-functions/gethostname.texi @ 9960:9f9682a4b630

Replace the isw* functions on Linux libc5.
author Bruno Haible <bruno@clisp.org>
date Tue, 22 Apr 2008 01:56:52 +0200
parents 070329237839
children 16c473421488
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