1LWRES_GAI_STRERROR(3)                BIND9               LWRES_GAI_STRERROR(3)
2
3
4

NAME

6       lwres_gai_strerror - print suitable error string
7

SYNOPSIS

9       #include <lwres/netdb.h>
10
11       char * gai_strerror(int ecode);
12

DESCRIPTION

14       lwres_gai_strerror() returns an error message corresponding to an error
15       code returned by getaddrinfo(). The following error codes and their
16       meaning are defined in include/lwres/netdb.h.
17
18       EAI_ADDRFAMILY
19           address family for hostname not supported
20
21       EAI_AGAIN
22           temporary failure in name resolution
23
24       EAI_BADFLAGS
25           invalid value for ai_flags
26
27       EAI_FAIL
28           non-recoverable failure in name resolution
29
30       EAI_FAMILY
31           ai_family not supported
32
33       EAI_MEMORY
34           memory allocation failure
35
36       EAI_NODATA
37           no address associated with hostname
38
39       EAI_NONAME
40           hostname or servname not provided, or not known
41
42       EAI_SERVICE
43           servname not supported for ai_socktype
44
45       EAI_SOCKTYPE
46           ai_socktype not supported
47
48       EAI_SYSTEM
49           system error returned in errno
50       The message invalid error code is returned if ecode is out of range.
51
52       ai_flags, ai_family and ai_socktype are elements of the struct addrinfo
53       used by lwres_getaddrinfo().
54

SEE ALSO

56       strerror(3), lwres_getaddrinfo(3), getaddrinfo(3), RFC2133().
57

AUTHOR

59       Internet Systems Consortium, Inc.
60
62       Copyright © 2000, 2001, 2004, 2005, 2007, 2014-2016, 2018 Internet
63       Systems Consortium, Inc. ("ISC")
64
65
66
67ISC                               2007-06-18             LWRES_GAI_STRERROR(3)
Impressum