lwres_gai_strerror.html revision 33d0a7767d53cb366039fd0ac4f63cf8a9c351b0
1910146bc46e3eee5b8668806da594107fe9aabfvboxsync - Copyright (C) 2004, 2005, 2007, 2014-2016 Internet Systems Consortium, Inc. ("ISC")
1910146bc46e3eee5b8668806da594107fe9aabfvboxsync - Copyright (C) 2000, 2001 Internet Software Consortium.
1910146bc46e3eee5b8668806da594107fe9aabfvboxsync - Permission to use, copy, modify, and/or distribute this software for any
1910146bc46e3eee5b8668806da594107fe9aabfvboxsync - purpose with or without fee is hereby granted, provided that the above
1910146bc46e3eee5b8668806da594107fe9aabfvboxsync - copyright notice and this permission notice appear in all copies.
e64031e20c39650a7bc902a3e1aba613b9415deevboxsync - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
1910146bc46e3eee5b8668806da594107fe9aabfvboxsync - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
1910146bc46e3eee5b8668806da594107fe9aabfvboxsync - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
1910146bc46e3eee5b8668806da594107fe9aabfvboxsync - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
1910146bc46e3eee5b8668806da594107fe9aabfvboxsync - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
1910146bc46e3eee5b8668806da594107fe9aabfvboxsync - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
1910146bc46e3eee5b8668806da594107fe9aabfvboxsync - PERFORMANCE OF THIS SOFTWARE.
1910146bc46e3eee5b8668806da594107fe9aabfvboxsync<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
1910146bc46e3eee5b8668806da594107fe9aabfvboxsync<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
ecbaea9ad65eebbee668d1023015855b750e6505vboxsync<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry">
453ae3ee24693b7cc05e53375f90331a8d2fad40vboxsync<p>lwres_gai_strerror — print suitable error string</p>
1910146bc46e3eee5b8668806da594107fe9aabfvboxsync<pre class="funcsynopsisinfo">#include <lwres/netdb.h></pre>
1910146bc46e3eee5b8668806da594107fe9aabfvboxsync<table border="0" class="funcprototype-table" summary="Function synopsis" style="cellspacing: 0; cellpadding: 0;"><tr>
1910146bc46e3eee5b8668806da594107fe9aabfvboxsync<td>int <var class="pdparam">ecode</var><code>)</code>;</td>
cae5cca5168e18e168df5541b11f462b60062a7avboxsync<p><code class="function">lwres_gai_strerror()</code>
1910146bc46e3eee5b8668806da594107fe9aabfvboxsync returns an error message corresponding to an error code returned by
1910146bc46e3eee5b8668806da594107fe9aabfvboxsync The following error codes and their meaning are defined in
1910146bc46e3eee5b8668806da594107fe9aabfvboxsync <code class="filename">include/lwres/netdb.h</code>.
1910146bc46e3eee5b8668806da594107fe9aabfvboxsync<dt><span class="term"><span class="errorcode">EAI_ADDRFAMILY</span></span></dt>
453ae3ee24693b7cc05e53375f90331a8d2fad40vboxsync address family for hostname not supported
7ee4964086c77ff4e938e57cf71e079a979b2497vboxsync<dt><span class="term"><span class="errorcode">EAI_AGAIN</span></span></dt>
4ae63d882a8b26f59972d1ff15c64de2cf8bd419vboxsync temporary failure in name resolution
4ae63d882a8b26f59972d1ff15c64de2cf8bd419vboxsync<dt><span class="term"><span class="errorcode">EAI_BADFLAGS</span></span></dt>
1910146bc46e3eee5b8668806da594107fe9aabfvboxsync invalid value for
1910146bc46e3eee5b8668806da594107fe9aabfvboxsync<dt><span class="term"><span class="errorcode">EAI_FAIL</span></span></dt>
1910146bc46e3eee5b8668806da594107fe9aabfvboxsync non-recoverable failure in name resolution
1910146bc46e3eee5b8668806da594107fe9aabfvboxsync<dt><span class="term"><span class="errorcode">EAI_FAMILY</span></span></dt>
1910146bc46e3eee5b8668806da594107fe9aabfvboxsync<dd><p><code class="constant">ai_family</code> not supported
1910146bc46e3eee5b8668806da594107fe9aabfvboxsync<dt><span class="term"><span class="errorcode">EAI_MEMORY</span></span></dt>
7ee4964086c77ff4e938e57cf71e079a979b2497vboxsync memory allocation failure
1910146bc46e3eee5b8668806da594107fe9aabfvboxsync<dt><span class="term"><span class="errorcode">EAI_NODATA</span></span></dt>
1910146bc46e3eee5b8668806da594107fe9aabfvboxsync no address associated with hostname
1910146bc46e3eee5b8668806da594107fe9aabfvboxsync<dt><span class="term"><span class="errorcode">EAI_NONAME</span></span></dt>
1910146bc46e3eee5b8668806da594107fe9aabfvboxsync hostname or servname not provided, or not known
9508848aea94fe052556767bbf87e1c212380a66vboxsync<dt><span class="term"><span class="errorcode">EAI_SERVICE</span></span></dt>
9508848aea94fe052556767bbf87e1c212380a66vboxsync servname not supported for <code class="constant">ai_socktype</code>
1910146bc46e3eee5b8668806da594107fe9aabfvboxsync<dt><span class="term"><span class="errorcode">EAI_SOCKTYPE</span></span></dt>
1910146bc46e3eee5b8668806da594107fe9aabfvboxsync<dd><p><code class="constant">ai_socktype</code> not supported
1910146bc46e3eee5b8668806da594107fe9aabfvboxsync<dt><span class="term"><span class="errorcode">EAI_SYSTEM</span></span></dt>
1910146bc46e3eee5b8668806da594107fe9aabfvboxsync system error returned in errno
1910146bc46e3eee5b8668806da594107fe9aabfvboxsync The message <span class="errorname">invalid error code</span> is returned if
ecbaea9ad65eebbee668d1023015855b750e6505vboxsync is out of range.
07cd6d300c7b0a828b31d83eb0c09876dd028040vboxsync are elements of the
453ae3ee24693b7cc05e53375f90331a8d2fad40vboxsync<p><span class="citerefentry"><span class="refentrytitle">strerror</span>(3)</span>,
453ae3ee24693b7cc05e53375f90331a8d2fad40vboxsync <span class="citerefentry"><span class="refentrytitle">lwres_getaddrinfo</span>(3)</span>,
1910146bc46e3eee5b8668806da594107fe9aabfvboxsync <span class="citerefentry"><span class="refentrytitle">getaddrinfo</span>(3)</span>,
a4b605335b7e6a6ba6d5a301bc96de0e89e4b663vboxsync <span class="citerefentry"><span class="refentrytitle">RFC2133</span></span>.