10302N/A<!
DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
10302N/A - Copyright (C) 2000, 2001 Internet Software Consortium. 10302N/A - Permission to use, copy, modify, and distribute this software for any 10302N/A - purpose with or without fee is hereby granted, provided that the above 10302N/A - copyright notice and this permission notice appear in all copies. 10304N/A - THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM 17178N/A - DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL 18603N/A - IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL 17178N/A - INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, 10656N/A - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING 10302N/A - FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, 15293N/A - NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION 10302N/A - WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 10302N/A<
refentrytitle>lwres_gai_strerror</
refentrytitle>
18601N/A<
refmiscinfo>BIND9</
refmiscinfo>
10302N/A<
refpurpose>print suitable error string</
refpurpose>
10302N/A<
function>gai_strerror</
function></
funcdef>
10302N/A<
function>lwres_gai_strerror()</
function>
10302N/Areturns an error message corresponding to an error code returned by
10302N/A<
function>getaddrinfo()</
function>.
10302N/AThe following error codes and their meaning are defined in
10302N/A<
varlistentry><
term><
errorcode>EAI_ADDRFAMILY</
errorcode></
term>
10302N/Aaddress family for hostname not supported
10302N/A<
varlistentry><
term><
errorcode>EAI_AGAIN</
errorcode></
term>
10302N/Atemporary failure in name resolution
10302N/A<
varlistentry><
term><
errorcode>EAI_BADFLAGS</
errorcode></
term>
10656N/A<
varlistentry><
term><
errorcode>EAI_FAIL</
errorcode></
term>
10302N/Anon-recoverable failure in name resolution
10302N/A<
varlistentry><
term><
errorcode>EAI_FAMILY</
errorcode></
term>
10302N/A<
varlistentry><
term><
errorcode>EAI_MEMORY</
errorcode></
term>
10302N/A<
varlistentry><
term><
errorcode>EAI_NODATA</
errorcode></
term>
12773N/Ano address associated with hostname
12773N/A<
varlistentry><
term><
errorcode>EAI_NONAME</
errorcode></
term>
10302N/Ahostname or servname not provided, or not known
10302N/A<
varlistentry><
term><
errorcode>EAI_SERVICE</
errorcode></
term>
10302N/A<
constant>ai_socktype</
constant>
10304N/A<
varlistentry><
term><
errorcode>EAI_SOCKTYPE</
errorcode></
term>
10302N/A<
constant>ai_socktype</
constant>
10302N/A<
varlistentry><
term><
errorcode>EAI_SYSTEM</
errorcode></
term>
10302N/AThe message <
errorname>invalid error code</
errorname> is returned if
10302N/A<
constant>ai_socktype</
constant>
10302N/A<
function>lwres_getaddrinfo()</
function>.
10302N/A<
refentrytitle>strerror</
refentrytitle><
manvolnum>3</
manvolnum>
10302N/A<
refentrytitle>lwres_getaddrinfo</
refentrytitle><
manvolnum>3</
manvolnum>
10302N/A<
refentrytitle>getaddrinfo</
refentrytitle><
manvolnum>3</
manvolnum>
10302N/A<
refentrytitle>RFC2133</
refentrytitle>