diff options
Diffstat (limited to 'usr.sbin/bind/lib/lwres/man/lwres_hstrerror.html')
-rw-r--r-- | usr.sbin/bind/lib/lwres/man/lwres_hstrerror.html | 100 |
1 files changed, 52 insertions, 48 deletions
diff --git a/usr.sbin/bind/lib/lwres/man/lwres_hstrerror.html b/usr.sbin/bind/lib/lwres/man/lwres_hstrerror.html index 6e7c5ba70b2..a6af72b86e5 100644 --- a/usr.sbin/bind/lib/lwres/man/lwres_hstrerror.html +++ b/usr.sbin/bind/lib/lwres/man/lwres_hstrerror.html @@ -1,5 +1,5 @@ <!-- - - Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC") + - Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC") - Copyright (C) 2000, 2001 Internet Software Consortium. - - Permission to use, copy, modify, and distribute this software for any @@ -14,15 +14,15 @@ - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR - PERFORMANCE OF THIS SOFTWARE. --> -<!-- $ISC: lwres_hstrerror.html,v 1.5.2.1.4.12 2006/06/29 13:02:31 marka Exp $ --> +<!-- $ISC: lwres_hstrerror.html,v 1.6.18.17 2007/01/30 00:23:45 marka Exp $ --> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>lwres_hstrerror</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.70.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.71.1"> </head> <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" lang="en"> -<a name="id2482688"></a><div class="titlepage"></div> +<a name="id2476275"></a><div class="titlepage"></div> <div class="refnamediv"> <h2>Name</h2> <p>lwres_herror, lwres_hstrerror — lightweight resolver error message generation</p> @@ -31,70 +31,74 @@ <h2>Synopsis</h2> <div class="funcsynopsis"> <pre class="funcsynopsisinfo">#include <lwres/netdb.h></pre> -<p><code class="funcdef"> +<table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em"><tr> +<td><code class="funcdef"> void -<b class="fsfunc">lwres_herror</b>(</code>const char *s<code>)</code>;</p> -<p><code class="funcdef"> +<b class="fsfunc">lwres_herror</b>(</code></td> +<td>const char * </td> +<td> +<var class="pdparam">s</var><code>)</code>;</td> +</tr></table> +<table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0"><tr> +<td><code class="funcdef"> const char * -<b class="fsfunc">lwres_hstrerror</b>(</code>int err<code>)</code>;</p> +<b class="fsfunc">lwres_hstrerror</b>(</code></td> +<td>int </td> +<td> +<var class="pdparam">err</var><code>)</code>;</td> +</tr></table> </div> </div> <div class="refsect1" lang="en"> -<a name="id2549424"></a><h2>DESCRIPTION</h2> -<p> -<code class="function">lwres_herror()</code> prints the string -<em class="parameter"><code>s</code></em> on <span class="type">stderr</span> followed by the string -generated by <code class="function">lwres_hstrerror()</code> for the error code -stored in the global variable <code class="constant">lwres_h_errno</code>. -</p> -<p> -<code class="function">lwres_hstrerror()</code> returns an appropriate string -for the error code gievn by <em class="parameter"><code>err</code></em>. The values of -the error codes and messages are as follows: +<a name="id2543379"></a><h2>DESCRIPTION</h2> +<p><code class="function">lwres_herror()</code> + prints the string <em class="parameter"><code>s</code></em> on + <span class="type">stderr</span> followed by the string generated by + <code class="function">lwres_hstrerror()</code> for the error code stored + in the global variable <code class="constant">lwres_h_errno</code>. + </p> +<p><code class="function">lwres_hstrerror()</code> + returns an appropriate string for the error code gievn by + <em class="parameter"><code>err</code></em>. The values of the error codes and + messages are as follows: -</p> + </p> <div class="variablelist"><dl> <dt><span class="term"><span class="errorcode">NETDB_SUCCESS</span></span></dt> -<dd><p> -<span class="errorname">Resolver Error 0 (no error)</span> -</p></dd> +<dd><p><span class="errorname">Resolver Error 0 (no error)</span> + </p></dd> <dt><span class="term"><span class="errorcode">HOST_NOT_FOUND</span></span></dt> -<dd><p> -<span class="errorname">Unknown host</span> -</p></dd> +<dd><p><span class="errorname">Unknown host</span> + </p></dd> <dt><span class="term"><span class="errorcode">TRY_AGAIN</span></span></dt> -<dd><p> -<span class="errorname">Host name lookup failure</span> -</p></dd> +<dd><p><span class="errorname">Host name lookup failure</span> + </p></dd> <dt><span class="term"><span class="errorcode">NO_RECOVERY</span></span></dt> -<dd><p> -<span class="errorname">Unknown server error</span> -</p></dd> +<dd><p><span class="errorname">Unknown server error</span> + </p></dd> <dt><span class="term"><span class="errorcode">NO_DATA</span></span></dt> -<dd><p> -<span class="errorname">No address associated with name</span> -</p></dd> +<dd><p><span class="errorname">No address associated with name</span> + </p></dd> </dl></div> <p> -</p> + </p> </div> <div class="refsect1" lang="en"> -<a name="id2549536"></a><h2>RETURN VALUES</h2> +<a name="id2543497"></a><h2>RETURN VALUES</h2> <p> -The string <span class="errorname">Unknown resolver error</span> is returned by -<code class="function">lwres_hstrerror()</code> -when the value of -<code class="constant">lwres_h_errno</code> -is not a valid error code. -</p> + The string <span class="errorname">Unknown resolver error</span> is returned by + <code class="function">lwres_hstrerror()</code> + when the value of + <code class="constant">lwres_h_errno</code> + is not a valid error code. + </p> </div> <div class="refsect1" lang="en"> -<a name="id2549555"></a><h2>SEE ALSO</h2> -<p> -<span class="citerefentry"><span class="refentrytitle">herror</span>(3)</span>, +<a name="id2543517"></a><h2>SEE ALSO</h2> +<p><span class="citerefentry"><span class="refentrytitle">herror</span>(3)</span>, -<span class="citerefentry"><span class="refentrytitle">lwres_hstrerror</span>(3)</span>. -</p> + <span class="citerefentry"><span class="refentrytitle">lwres_hstrerror</span>(3)</span>. + </p> </div> </div></body> </html> |