hstrerror()

map h_errno value to error message string 

Function


SYNOPSIS

#include <netdb.h>

char *hstrerror(int errnum);


DESCRIPTION

The hstrerror() function maps errnum, a possible value of h_errno, to an error message string. Note that subsequent calls to hstrerror() may overwrite the buffer addressed by the returned pointer.


PARAMETERS

errnum 

Is the value of h_errno to interpret.


RETURN VALUES

The hstrerror() function returns a pointer to a null-terminated string that describes the error condition associated with the global variable h_errno having a value of errnum.


CONFORMANCE

4.4BSD


MULTITHREAD SAFETY LEVEL

MT-Safe.


PORTING ISSUES

None.


AVAILABILITY

PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition


SEE ALSO

Functions:
herror(), perror(), strerror()


PTC MKS Toolkit 10.5 Documentation Build 40.