Open System Services Library Calls Reference Manual (G06.29+, H06.08+, J06.03+)

OSS Library Calls (i - m) lwres_gai_strerror(3)
NAME
lwres_gai_strerror - Aids applications in printing error messages based on the EAI_ codes
returned by the lwres_getaddrinfo() function
LIBRARY
G-series native OSS processes: /G/system/sysnn/zinetsrl
32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zinetdll |
64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yinetdll |
SYNOPSIS
#include <netdb.h>
char * lwres_gai_strerror(
int ecode );
PARAMETERS
ecode Specifies one of the following error codes returned by the lwres_getaddrinfo( )
function:
EAI_ADDRFAMILY
Address family for host name not supported.
EAI_AGAIN Temporary failure in name resolution.
EAI_BADFLAGS
Invalid value for ai_flags.
EAI_FAIL Nonrecoverable failure in name resolution.
EAI_FAMILY ai_family not supported.
EAI_MEMORY
Memory allocation failure.
EAI_NODATA
No address associated with the specified host name.
EAI_NONAME
The host name or server name was not provided or is not known.
EAI_SERVICE
The server named is not supported for ai_socktype.
EAI_SOCKTYPE
ai_socktype is not supported.
EAI_SYSTEM
System error was returned in errno.
ai_flags, ai_family, and ai_socktype are elements of the addrinfo struct used by the
lwres_getaddrinfo( ) call.
DESCRIPTION
The lwres_gai_strerror( ) function call returns a pointer to a character string describing the error
code passed into it.
527187-017 Hewlett-Packard Company 4153