Man page for lwres_hstrerror

June 2, 2007 – 8:24 pm

LWRES_HSTRERROR


Section: BIND9 (3)
Updated: Jun 30, 2000
Index
Return to Main Contents

 

NAME

lwres_herror, lwres_hstrerror – lightweight resolver error message generation
 

SYNOPSIS


#include <lwres/netdb.h>



void lwres_herror(const char *s);


const char * lwres_hstrerror(int err);


 

DESCRIPTION

lwres_herror()

prints the string
s
on
stderr
followed by the string generated by
lwres_hstrerror()
for the error code stored in the global variable
lwres_h_errno.

lwres_hstrerror()
returns an appropriate string for the error code gievn by
err. The values of the error codes and messages are as follows:

NETDB_SUCCESS


Resolver Error 0 (no error)

HOST_NOT_FOUND


Unknown host

TRY_AGAIN


Host name lookup failure

NO_RECOVERY


Unknown server error

NO_DATA


No address associated with name

 

RETURN VALUES

The string
Unknown resolver error
is returned by
lwres_hstrerror()
when the value of
lwres_h_errno
is not a valid error code.
 

SEE ALSO

herror(3),
lwres_hstrerror(3).
 

COPYRIGHT

Copyright © 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")

Copyright © 2000, 2001 Internet Software Consortium.



 

Index



NAME

SYNOPSIS

DESCRIPTION

RETURN VALUES

SEE ALSO

COPYRIGHT



Related posts:

  1. Man page for lwres_gethostent
  2. Man page for lwres_getipnode
  3. Man page for lwres_conf_init
  4. Man page for lwres_config
  5. Man page for lwres_net_ntop
  6. Man page for lwres_getnameinfo
  7. man hosts – Man page for hosts
  8. man lwresd – Man page for lwresd
  9. man nslookup – Man page for nslookup
  10. man rndc – Man page for rndc

Post a Comment