lwres_gai_strerror.html revision 61e1dc26d62c2a0059e3ca7efe2ad0f4a5b8df92
6fe48fb46e53ffc37542853a1edb74cb481b7d94Automatic Updater - Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC")
7a2a1b8b14fc804ac80612d7b98064095e445be5Automatic Updater - Copyright (C) 2001 Internet Software Consortium.
1167fc7904c5f0a472f8df207ac46dd52c7f1ec8Automatic Updater - Permission to use, copy, modify, and distribute this software for any
0c39b3ed9409ecb277d5e32fa763a4e4d6598df8Automatic Updater - purpose with or without fee is hereby granted, provided that the above
46da3117812814a29432a8d9a9ccf8acdbfdadceAutomatic Updater - copyright notice and this permission notice appear in all copies.
fe84edc17e0d582cf7b4270f8df9d4742a107b1cAutomatic Updater - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
79b273c187a4aa1016a62181983dfdd0521681aeMark Andrews - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
3349f0044fda807e1fd6681c833d3593a22dad86Tinderbox User - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
6c6a121295b30772cbf3dd75a51fb9d883051a0eAutomatic Updater - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox User - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
9cd5eb6fe0f26d65724b99216cb31dcdd12e4afdAutomatic Updater - PERFORMANCE OF THIS SOFTWARE.
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews<!-- $Id: lwres_gai_strerror.html,v 1.8 2004/04/07 00:57:02 marka Exp $ -->
bbde8dc56605130058a1540609264fa109da3b63Automatic Updater>lwres_gai_strerror</TITLE
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark AndrewsNAME="GENERATOR"
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic UpdaterCONTENT="Modular DocBook HTML Stylesheet Version 1.73
91216cff91b34c9ff6e846dc23f248219cafe660Andreas GustafssonCLASS="REFENTRY"
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic UpdaterBGCOLOR="#FFFFFF"
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic UpdaterVLINK="#840084"
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox UserALINK="#0000FF"
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater>lwres_gai_strerror</A
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic UpdaterCLASS="REFNAMEDIV"
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater>gai_strerror -- print suitable error string</DIV
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic UpdaterCLASS="REFSYNOPSISDIV"
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic UpdaterCLASS="FUNCSYNOPSIS"
6fe48fb46e53ffc37542853a1edb74cb481b7d94Automatic UpdaterCLASS="FUNCSYNOPSISINFO"
930f6069e5aa157cf6987cdafd412f5757a5a558Automatic UpdaterCLASS="FUNCDEF"
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrewsgai_strerror</CODE
6fe48fb46e53ffc37542853a1edb74cb481b7d94Automatic Updater>(int ecode);</CODE
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic UpdaterCLASS="REFSECT1"
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater>DESCRIPTION</H2
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic UpdaterCLASS="FUNCTION"
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox User>lwres_gai_strerror()</TT
78f3ed4bc2fcd3d270bfd599804f3b27a1db4d91Mark Andrewsreturns an error message corresponding to an error code returned by
3349f0044fda807e1fd6681c833d3593a22dad86Tinderbox UserCLASS="FUNCTION"
78f3ed4bc2fcd3d270bfd599804f3b27a1db4d91Mark Andrews>getaddrinfo()</TT
3349f0044fda807e1fd6681c833d3593a22dad86Tinderbox UserThe following error codes and their meaning are defined in
2a31bd531072824ef252c18303859d6af7451b00Francis DupontCLASS="FILENAME"
24bf1e02f03577db0feb50b80238c4150c96d05dAutomatic UpdaterCLASS="VARIABLELIST"
a308b69ac66fadf66863484f301314d6e6a3f1d2Automatic UpdaterCLASS="ERRORCODE"
a308b69ac66fadf66863484f301314d6e6a3f1d2Automatic Updater>EAI_ADDRFAMILY</SPAN
82447d835d3ff5c658749b4e9b4f66166407b3eaAutomatic Updater>address family for hostname not supported</P
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic UpdaterCLASS="ERRORCODE"
cdfc81e048bd34c1d628380247bda6b80a89e20eAutomatic Updater>EAI_AGAIN</SPAN
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater>temporary failure in name resolution</P
91216cff91b34c9ff6e846dc23f248219cafe660Andreas GustafssonCLASS="ERRORCODE"
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater>EAI_BADFLAGS</SPAN
dd65eb1efb40b1c47d57963192bfc54873b219beAutomatic Updater>invalid value for
133e6d43fa82e80d3798be4de00f4540f485ec6cAutomatic UpdaterCLASS="CONSTANT"
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox UserCLASS="ERRORCODE"
8711e5c73ca872d59810760af0332194cbdd619bAutomatic Updater>EAI_FAIL</SPAN
229ea4644b3a7d9c7fdaa43888e7f55ba01e2ee3Automatic Updater>non-recoverable failure in name resolution</P
8f2c45a35dd8c40bcc9caba8f7d40ce64fc27bcdAutomatic UpdaterCLASS="ERRORCODE"
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox User>EAI_FAMILY</SPAN
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic UpdaterCLASS="CONSTANT"
9c446b72069d0ab9f710502f4d7048e50875fccbAutomatic Updater> not supported</P
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic UpdaterCLASS="ERRORCODE"
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater>EAI_MEMORY</SPAN
7f79131f9a8e804b93c57f3c679065cce878b726Automatic Updater>memory allocation failure</P
8f2c45a35dd8c40bcc9caba8f7d40ce64fc27bcdAutomatic UpdaterCLASS="ERRORCODE"
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater>EAI_NODATA</SPAN
7f94d9a8162c9a96b56e66176702b66e79d8e1a2Automatic Updater>no address associated with hostname</P
e130ab53e992670e2a2ecf043976ac09f21358d1Automatic UpdaterCLASS="ERRORCODE"
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater>EAI_NONAME</SPAN
96ea71632887c58a9d00f47eb318bf76b35903c3Mark Andrews>hostname or servname not provided, or not known</P
9cd5eb6fe0f26d65724b99216cb31dcdd12e4afdAutomatic UpdaterCLASS="ERRORCODE"
4cda4fd158d6ded5586bacea8c388445d99611eaAutomatic Updater>EAI_SERVICE</SPAN
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews>servname not supported for <TT
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic UpdaterCLASS="CONSTANT"
a382ca49c874d38ad3ac8995b49f9f27128e4ca9Automatic Updater>ai_socktype</TT
cafd3a2b9974fe0a4ab95e0289746062bd958d68Automatic UpdaterCLASS="ERRORCODE"
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews>EAI_SOCKTYPE</SPAN
1368e4b34cef64604c874fcc40201c78e548714cTinderbox UserCLASS="CONSTANT"
f7a71eef29bcbf892270460269c79664f600cffdAutomatic Updater>ai_socktype</TT
3e5340279d8875d136a4dd815cccad0044aa2644Automatic Updater> not supported</P
930f6069e5aa157cf6987cdafd412f5757a5a558Automatic UpdaterCLASS="ERRORCODE"
8ccd7da886e93cd490fcb6f4c4e98a6514f35820Automatic Updater>EAI_SYSTEM</SPAN
c3fd32ed29e9e419bb56583f4272a506773b1ea0Automatic Updater>system error returned in errno</P
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox UserThe message <SPAN
8f2c45a35dd8c40bcc9caba8f7d40ce64fc27bcdAutomatic UpdaterCLASS="ERRORNAME"
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox User>invalid error code</SPAN
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater> is returned if
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox UserCLASS="PARAMETER"
e2caa7536302de34de6cc04025abcd53dc3a499aAutomatic Updateris out of range.</P
0b57424d28c9a67018107133f9fbc0a7dcf057e2Mark AndrewsCLASS="CONSTANT"
0b57424d28c9a67018107133f9fbc0a7dcf057e2Mark Andrews>ai_flags</TT
08d53af7d51409036462fa80fb1bde7a8c2ac123Automatic UpdaterCLASS="CONSTANT"
78f3ed4bc2fcd3d270bfd599804f3b27a1db4d91Mark Andrews>ai_family</TT
78f3ed4bc2fcd3d270bfd599804f3b27a1db4d91Mark AndrewsCLASS="CONSTANT"
3351ccbd5c1961404044f8273d54dad405f53960Mark Andrews>ai_socktype</TT
78f3ed4bc2fcd3d270bfd599804f3b27a1db4d91Mark Andrewsare elements of the
7d12a6b412fe47e6d6582923fd6954ab8cd0baebAutomatic Updater>struct addrinfo</SPAN
0b57424d28c9a67018107133f9fbc0a7dcf057e2Mark AndrewsCLASS="FUNCTION"
e8fc8c884b44371784805e1e0d3100da403dd3f1Automatic Updater>lwres_getaddrinfo()</TT
e8fc8c884b44371784805e1e0d3100da403dd3f1Automatic UpdaterCLASS="REFSECT1"
59528addd704f8d5757b54e540520f74e588a7c7Automatic UpdaterCLASS="CITEREFENTRY"
8f2c45a35dd8c40bcc9caba8f7d40ce64fc27bcdAutomatic UpdaterCLASS="REFENTRYTITLE"
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater>strerror</SPAN
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark AndrewsCLASS="CITEREFENTRY"
7f79131f9a8e804b93c57f3c679065cce878b726Automatic UpdaterCLASS="REFENTRYTITLE"
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater>lwres_getaddrinfo</SPAN
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox UserCLASS="CITEREFENTRY"
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian WellingtonCLASS="REFENTRYTITLE"
b13d89bd89878137c81b36a36596cca3920f27a4Automatic Updater>getaddrinfo</SPAN
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic UpdaterCLASS="CITEREFENTRY"
f7369b2881b5e63d69600adcedc8ba938303d30cTinderbox UserCLASS="REFENTRYTITLE"
f7369b2881b5e63d69600adcedc8ba938303d30cTinderbox User>RFC2133</SPAN