manpagez: man pages & more
man lwres_hstrerror(3)
Home | html | info | man
lwres_hstrerror(3)                   BIND9                  lwres_hstrerror(3)




NAME

       lwres_herror, lwres_hstrerror - lightweight resolver error message
       generation


SYNOPSIS

       #include <lwres/netdb.h>

       void lwres_herror(const char *s);

       lwres_hstrerror(3) err);


DESCRIPTION

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

       lwres_hstrerror(3) 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(3) when
       the value of lwres_h_errno is not a valid error code.


SEE ALSO

       lwres_hstrerror(3).


AUTHOR

       Internet Systems Consortium, Inc.


COPYRIGHT

       Copyright (C) 2004, 2005, 2007, 2014, 2015 Internet Systems Consortium,
       Inc. ("ISC")
       Copyright (C) 2000, 2001 Internet Software Consortium.



ISC                               2007-06-18                lwres_hstrerror(3)

bind 9.10.4 - Generated Fri Apr 29 20:46:17 CDT 2016
© manpagez.com 2000-2024
Individual documents may contain additional copyright information.