2 @subsection @code{sethostname}
5 LSB specification:@* @url{https://refspecs.linuxbase.org/LSB_5.0.0/LSB-Core-generic/LSB-Core-generic/baselib-sethostname-2.html}
11 @ref{Host Identification,,Host Identification,libc},
14 @url{https://www.gnu.org/software/libc/manual/html_node/Host-Identification.html},
17 @uref{https://www.kernel.org/doc/man-pages/online/pages/man2/sethostname.2.html,,man sethostname}.
20 Gnulib module: sethostname
22 Portability problems fixed by Gnulib:
25 This function is missing on some platforms:
26 Minix 3.1.8, Cygwin 1.7.x, mingw, MSVC 14, Android 5.1.
27 Note that the Gnulib replacement may fail with ENOSYS on some platforms.
29 This function is not declared on some platforms:
33 Portability problems not fixed by Gnulib:
36 The first parameter is @code{char *} instead of @code{const char *}
37 on some platforms: Solaris 11 2010-11.
39 The second parameter is @code{int} instead of @code{size_t}
40 on some platforms: Mac OS X 10.12, Solaris 11 2010-11.