lwres_gai_strerror.html revision d4ef65050feac78554addf6e16a06c6e2e0bd331
19c7b1a0293498a3e36692c59646ed6e15ffc8d0Tinderbox User - Copyright (C) 2001 Internet Software Consortium.
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington - Permission to use, copy, modify, and distribute this software for any
ec5347e2c775f027573ce5648b910361aa926c01Automatic Updater - purpose with or without fee is hereby granted, provided that the above
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington - copyright notice and this permission notice appear in all copies.
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington - THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews - DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews - IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews - INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews - FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews - NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews - WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt<!-- $Id: lwres_gai_strerror.html,v 1.2 2001/04/10 21:51:33 bwelling Exp $ -->
94bd918b63001277f1b28ae4581645f8a835688fBob Halley>lwres_gai_strerror</TITLE
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntNAME="GENERATOR"
94bd918b63001277f1b28ae4581645f8a835688fBob HalleyCONTENT="Modular DocBook HTML Stylesheet Version 1.61
94bd918b63001277f1b28ae4581645f8a835688fBob HalleyCLASS="REFENTRY"
94bd918b63001277f1b28ae4581645f8a835688fBob HalleyBGCOLOR="#FFFFFF"
94bd918b63001277f1b28ae4581645f8a835688fBob HalleyTEXT="#000000"
94bd918b63001277f1b28ae4581645f8a835688fBob HalleyLINK="#0000FF"
94bd918b63001277f1b28ae4581645f8a835688fBob HalleyVLINK="#840084"
94bd918b63001277f1b28ae4581645f8a835688fBob HalleyALINK="#0000FF"
94bd918b63001277f1b28ae4581645f8a835688fBob Halley>lwres_gai_strerror</A
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinCLASS="REFNAMEDIV"
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein>gai_strerror -- print suitable error string</DIV
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinCLASS="REFSYNOPSISDIV"
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein>Synopsis</H2
94bd918b63001277f1b28ae4581645f8a835688fBob HalleyCLASS="FUNCSYNOPSIS"
30eec077db2bdcb6f2a0dc388a3cdde2ede75ec1Mark AndrewsCLASS="FUNCSYNOPSISINFO"
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinCLASS="FUNCDEF"
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austeingai_strerror</CODE
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein>(int ecode);</CODE
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinCLASS="REFSECT1"
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein>DESCRIPTION</H2
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinCLASS="FUNCTION"
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein>lwres_gai_strerror()</TT
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austeinreturns an error message corresponding to an error code returned by
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinCLASS="FUNCTION"
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein>getaddrinfo()</TT
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinThe following error codes and their meaning are defined in
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinCLASS="FILENAME"
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinCLASS="VARIABLELIST"
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinCLASS="ERRORCODE"
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein>EAI_ADDRFAMILY</SPAN
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein>address family for hostname not supported</P
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinCLASS="ERRORCODE"
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein>EAI_AGAIN</SPAN
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein>temporary failure in name resolution</P
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinCLASS="ERRORCODE"
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein>EAI_BADFLAGS</SPAN
4eb998928b9aef0ceda42d7529980d658138698aEvan Hunt>invalid value for
4eb998928b9aef0ceda42d7529980d658138698aEvan HuntCLASS="CONSTANT"
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein>ai_flags</TT
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinCLASS="ERRORCODE"
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein>EAI_FAIL</SPAN
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein>non-recoverable failure in name resolution</P
94bd918b63001277f1b28ae4581645f8a835688fBob HalleyCLASS="ERRORCODE"
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt>EAI_FAMILY</SPAN
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinCLASS="CONSTANT"
7389e8330d62a059b8923fb8ca6f933caeb559d9Mark Andrews>ai_family</TT
94bd918b63001277f1b28ae4581645f8a835688fBob Halleynot supported</P
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinCLASS="ERRORCODE"
94bd918b63001277f1b28ae4581645f8a835688fBob Halley>EAI_MEMORY</SPAN
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein>memory allocation failure</P
7389e8330d62a059b8923fb8ca6f933caeb559d9Mark AndrewsCLASS="ERRORCODE"
7389e8330d62a059b8923fb8ca6f933caeb559d9Mark Andrews>EAI_NODATA</SPAN
94bd918b63001277f1b28ae4581645f8a835688fBob Halley>no address associated with hostname</P
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinCLASS="ERRORCODE"
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein>EAI_NONAME</SPAN
7389e8330d62a059b8923fb8ca6f933caeb559d9Mark Andrews>hostname or servname not provided, or not known</P
94bd918b63001277f1b28ae4581645f8a835688fBob HalleyCLASS="ERRORCODE"
94bd918b63001277f1b28ae4581645f8a835688fBob Halley>EAI_SERVICE</SPAN
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein>servname not supported for
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinCLASS="CONSTANT"
4eb998928b9aef0ceda42d7529980d658138698aEvan Hunt>ai_socktype</TT
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinCLASS="ERRORCODE"
7389e8330d62a059b8923fb8ca6f933caeb559d9Mark Andrews>EAI_SOCKTYPE</SPAN
94bd918b63001277f1b28ae4581645f8a835688fBob HalleyCLASS="CONSTANT"
94bd918b63001277f1b28ae4581645f8a835688fBob Halley>ai_socktype</TT
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austeinnot supported</P
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinCLASS="ERRORCODE"
94bd918b63001277f1b28ae4581645f8a835688fBob Halley>EAI_SYSTEM</SPAN
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein>system error returned in errno</P
30eec077db2bdcb6f2a0dc388a3cdde2ede75ec1Mark AndrewsThe message <SPAN
94bd918b63001277f1b28ae4581645f8a835688fBob HalleyCLASS="ERRORNAME"
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein>invalid error code</SPAN
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein> is returned if
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinCLASS="PARAMETER"
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Huntis out of range.</P
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinCLASS="CONSTANT"
94bd918b63001277f1b28ae4581645f8a835688fBob Halley>ai_flags</TT
94bd918b63001277f1b28ae4581645f8a835688fBob HalleyCLASS="CONSTANT"
94bd918b63001277f1b28ae4581645f8a835688fBob Halley>ai_family</TT
94bd918b63001277f1b28ae4581645f8a835688fBob HalleyCLASS="CONSTANT"
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt>ai_socktype</TT
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Huntare elements of the