Incorporate existing strcasestr doc into new doc structure.
[gnulib.git] / doc / functions / gethostname.texi
1 @node gethostname
2 @section @code{gethostname}
3 @findex gethostname
4
5 POSIX specification: @url{http://www.opengroup.org/susv3xsh/gethostname.html}
6
7 Gnulib module: gethostname
8
9 Portability problems fixed by Gnulib:
10 @itemize
11 @item
12 This function is missing on some platforms:
13 mingw.
14 @end itemize
15
16 Portability problems not fixed by Gnulib:
17 @itemize
18 @item
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.
21 @end itemize