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