2 - Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC")
3 - Copyright (C) 2001 Internet Software Consortium.
5 - Permission to use, copy, modify, and distribute this software for any
6 - purpose with or without fee is hereby granted, provided that the above
7 - copyright notice and this permission notice appear in all copies.
9 - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
10 - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
11 - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
12 - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
13 - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
14 - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
15 - PERFORMANCE OF THIS SOFTWARE.
18 <!-- $Id: lwres_gai_strerror.html,v 1.5.2.2 2004/03/15 04:45:01 marka Exp $ -->
23 >lwres_gai_strerror
</TITLE
26 CONTENT=
"Modular DocBook HTML Stylesheet Version 1.73
38 >lwres_gai_strerror
</A
47 >gai_strerror
--
print suitable error string
</DIV
49 CLASS=
"REFSYNOPSISDIV"
63 CLASS=
"FUNCSYNOPSISINFO"
64 >#include
<lwres/netdb.h
></PRE
87 >lwres_gai_strerror()
</TT
89 returns an error message corresponding to an error code returned by
94 The following error codes and their meaning are defined in
97 >include/lwres/netdb.h
</TT
107 >EAI_ADDRFAMILY
</SPAN
111 >address family for hostname not supported
</P
120 >temporary failure in name resolution
</P
142 >non-recoverable failure in name resolution
</P
163 >memory allocation failure
</P
172 >no address associated with hostname
</P
181 >hostname or servname not provided, or not known
</P
190 >servname not supported for
<TT
214 >system error returned in errno
</P
221 >invalid error code
</SPAN
247 >struct addrinfo
</SPAN
252 >lwres_getaddrinfo()
</TT
266 CLASS=
"REFENTRYTITLE"
274 CLASS=
"REFENTRYTITLE"
275 >lwres_getaddrinfo
</SPAN
282 CLASS=
"REFENTRYTITLE"
290 CLASS=
"REFENTRYTITLE"