gnulib-tool.py: import mktemp
[gnulib.git] / doc / glibc-functions / sethostname.texi
blob6d1eee78c74f73a0e45f40c28151524a9ecef951
1 @node sethostname
2 @subsection @code{sethostname}
3 @findex sethostname
5 Gnulib module: sethostname
7 Portability problems fixed by Gnulib:
8 @itemize
9 @item
10 This function is missing on some platforms:
11 Minix 3.1.8, Cygwin, mingw, MSVC 14, Interix 3.5, BeOS, Android 5.1.
12 Note that the Gnulib replacement may fail with ENOSYS on some platforms.
13 @item
14 This function is not declared on some platforms:
15 AIX 7.1, OSF/1 5.1, Solaris 10.
16 @end itemize
18 Portability problems not fixed by Gnulib:
19 @itemize
20 @item
21 The first parameter is @code{char *} instead of @code{const char *}
22 on some platforms: Solaris 11 2010-11.
23 @item
24 The second parameter is @code{int} instead of @code{size_t}
25 on some platforms: Mac OS X 10.12, Solaris 11 2010-11.
26 @end itemize