2 @subsection @code{getdomainname}
5 LSB specification:@* @url{https://refspecs.linuxbase.org/LSB_5.0.0/LSB-Core-generic/LSB-Core-generic/baselib-getdomainname.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/getdomainname.2.html,,man getdomainname}.
20 Gnulib module: getdomainname
22 Portability problems fixed by Gnulib:
25 This function is missing on some platforms:
26 Solaris 11.3, mingw, MSVC 14, Android 7.1.
28 This function is declared in @code{netdb.h}, not in @code{unistd.h}, on
32 The second argument is of type @code{int}, not @code{size_t}, on some platforms:
33 macOS 14, FreeBSD 14.0, AIX 7.1.
36 Portability problems not fixed by Gnulib: