Hash :
0e6072c1
Author :
Date :
2010-12-27T01:22:00
inet_ntop, inet_pton: Ensure declaration on NonStop Kernel. * lib/arpa_inet.in.h: On NonStop Kernel, include also <netdb.h>. * m4/arpa_inet_h.m4 (gl_HEADER_ARPA_INET): Likewise. * m4/inet_ntop.m4 (gl_PREREQ_INET_NTOP): Include also <netdb.h> when looking for the declaration. * m4/inet_pton.m4 (gl_PREREQ_INET_PTON): Likewise. * doc/posix-functions/inet_ntop.texi: Document the NonStop Kernel problem. * doc/posix-functions/inet_pton.texi: Likewise.
@node inet_ntop
@section @code{inet_ntop}
@findex inet_ntop
POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/inet_ntop.html}
Gnulib module: inet_ntop
Portability problems fixed by Gnulib:
@itemize
@item
This function is missing on some platforms:
HP-UX 11.00, OSF/1 4.0, Solaris 2.5.1, mingw, Interix 3.5, BeOS.
@item
This function is declared in @code{<netdb.h>} instead of @code{<arpa/inet.h>}
on some platforms:
NonStop Kernel.
@end itemize
Portability problems not fixed by Gnulib:
@itemize
@item
This function's fourth argument type is @code{size_t} instead of
@code{socklen_t} on some platforms:
OSF/1 5.1, Solaris 10.
@end itemize