Open System Services Library Calls Reference Manual (G06.29+, H06.08+, J06.03+)

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
32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zinetdll
64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yinetdll
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.
4170 Hewlett-Packard Company 527187-017