Open System Services Library Calls Reference Manual (G06.28+, H06.05+)
lwres_hstrerror(3) OSS Library Calls Reference Manual
NAME
lwres_hstrerror - Returns a string for an error code
LIBRARY
G-series native OSS processes: /G/system/sysnn/zinetsrl
H-series OSS processes: /G/system/zdllnnn/zinetdll
SYNOPSIS
#include <netdb.h>
const char *lwres_hstrerror (
int err_num);
PARAMETERS
err_num Specifies the integer error code.
DESCRIPTION
This function converts an integer error code returned by another lightweight resolver function
into a displayable text string.
RETURN VALUES
Upon successful completion of the call, this function points to a string that describes err_num.
The values of the error codes and messages are:
NETDB_SUCCESS
Resolver error 0 (zero, meaning 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.
4−112 Hewlett-Packard Company 527187-007