summaryrefslogtreecommitdiff
path: root/gnulib/doc/glibc-functions/sethostname.texi
blob: b5afec81ac9196859e76785b130a98cd31b845a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
@node sethostname
@subsection @code{sethostname}
@findex sethostname

Gnulib module: sethostname

Portability problems fixed by Gnulib:
@itemize
@item
This function is missing on some platforms:
Minix 3.1.8, Cygwin, mingw, MSVC 9, Interix 3.5, BeOS.
Note that the Gnulib replacement may fail with ENOSYS on some platforms.
@item
This function is not declared on some platforms:
AIX 7.1, OSF/1 5.1, Solaris 10.
@end itemize

Portability problems not fixed by Gnulib:
@itemize
@item
On Solaris 11 2010-11, the first argument is @code{char *} instead of
@code{const char *} and the second parameter is @code{int} instead of
@code{size_t}.
@end itemize