#include <sys/types.h> #include <netinet/in.h> #include <arpa/nameser.h> #include <resolv.h> char* hstrerror(int h_error_value);
The hstrerror() function is used to retrieve the text string that describes a resolver h_errno value.
The hstrerror() API returns a pointer to the error text.
No authorization is required.
None
See Code disclaimer information for information pertaining to code examples.
See res_ninit() for an example of how hstrerror() is used.
Top | UNIX-Type APIs | APIs by category |