herror()

write error message to standard output based on h_errno 

Function


SYNOPSIS

#include <netdb.h>

void herror(const char *s);


DESCRIPTION

The herror() function produces a message on the standard error output describing the error condition associated with the current value of h_errno. The string s is printed first, followed by a colon, a blank, the error message and a newline. If s is a null pointer or points to a null string, the colon is not printed.


PARAMETERS

s 

Is either null or points to a null-terminated string.


RETURN VALUES

None.


CONFORMANCE

4.4BSD


MULTITHREAD SAFETY LEVEL

Unsafe.


PORTING ISSUES

None.


AVAILABILITY

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


SEE ALSO

Functions:
hstrerror(), perror(), strerror()


MKS Toolkit 9.3 Documentation Build 6.