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.1.4.2 2004/08/22 23:39:03 marka Exp $ -->
20 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
24 >lwres_gai_strerror</TITLE
27 CONTENT="Modular DocBook HTML Stylesheet Version 1.7"></HEAD
39 >lwres_gai_strerror</H1
47 >gai_strerror -- print suitable error string</DIV
49 CLASS="REFSYNOPSISDIV"
63 CLASS="FUNCSYNOPSISINFO"
64 >#include <lwres/netdb.h></PRE
87 >lwres_gai_strerror()</CODE
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 <CODE
214 >system error returned in errno</P
221 >invalid error code</SPAN
245 >struct addrinfo</SPAN
250 >lwres_getaddrinfo()</CODE
264 CLASS="REFENTRYTITLE"
272 CLASS="REFENTRYTITLE"
273 >lwres_getaddrinfo</SPAN
280 CLASS="REFENTRYTITLE"
288 CLASS="REFENTRYTITLE"