doc: Remove documentation of IRIX as supported platform.
[gnulib.git] / doc / glibc-functions / sethostname.texi
blob1aff926cd4af2d177d0f0b2ed01b64b480d17313
1 @node sethostname
2 @subsection @code{sethostname}
3 @findex sethostname
5 LSB specification:@* @url{https://refspecs.linuxbase.org/LSB_5.0.0/LSB-Core-generic/LSB-Core-generic/baselib-sethostname-2.html}
7 Documentation:
8 @itemize
9 @item
10 @ifinfo
11 @ref{Host Identification,,Host Identification,libc},
12 @end ifinfo
13 @ifnotinfo
14 @url{https://www.gnu.org/software/libc/manual/html_node/Host-Identification.html},
15 @end ifnotinfo
16 @item
17 @uref{https://www.kernel.org/doc/man-pages/online/pages/man2/sethostname.2.html,,man sethostname}.
18 @end itemize
20 Gnulib module: sethostname
22 Portability problems fixed by Gnulib:
23 @itemize
24 @item
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.
28 @item
29 This function is not declared on some platforms:
30 AIX 7.1, Solaris 10.
31 @end itemize
33 Portability problems not fixed by Gnulib:
34 @itemize
35 @item
36 The first parameter is @code{char *} instead of @code{const char *}
37 on some platforms:
38 Solaris 11 2010-11.
39 @item
40 The second parameter is @code{int} instead of @code{size_t}
41 on some platforms:
42 macOS 12.5, FreeBSD 14.0, MidnightBSD 3.0, Solaris 11 2010-11, Solaris 11 OpenIndiana, Solaris 11 OmniOS.
43 @end itemize