LWRES_GAI_STRERROR(3) | BIND9 | LWRES_GAI_STRERROR(3) |
NAME¶
lwres_gai_strerror - print suitable error string
SYNOPSIS¶
#include <lwres/netdb.h>
char * gai_strerror(int ecode);
DESCRIPTION¶
lwres_gai_strerror() returns an error message corresponding to an error code returned by getaddrinfo(). The following error codes and their meaning are defined in include/lwres/netdb.h.
EAI_ADDRFAMILY
EAI_AGAIN
EAI_BADFLAGS
EAI_FAIL
EAI_FAMILY
EAI_MEMORY
EAI_NODATA
EAI_NONAME
EAI_SERVICE
EAI_SOCKTYPE
EAI_SYSTEM
ai_flags, ai_family and ai_socktype are elements of the struct addrinfo used by lwres_getaddrinfo().
SEE ALSO¶
strerror(3), lwres_getaddrinfo(3), getaddrinfo(3), RFC2133().
AUTHOR¶
Internet Systems Consortium, Inc.
COPYRIGHT¶
Copyright © 2000, 2001, 2004, 2005, 2007, 2014-2016, 2018-2020 Internet Systems Consortium, Inc. ("ISC")
2007-06-18 | ISC |