1
0
mirror of https://git.savannah.gnu.org/git/gnulib.git synced 2025-08-16 01:22:18 +03:00
Files
gnulib/doc/glibc-functions/sethostname.texi
Bruno Haible 9c84fea634 sethostname: Update doc.
* doc/glibc-functions/sethostname.texi: Mention differing prototype on
Mac OS X.
2017-04-22 14:39:09 +02:00

27 lines
722 B
Plaintext

@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
The first parameter is @code{char *} instead of @code{const char *}
on some platforms: Solaris 11 2010-11.
@item
The second parameter is @code{int} instead of @code{size_t}
on some platforms: Mac OS X 10.12, Solaris 11 2010-11.
@end itemize