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

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:
hstrerror(), perror(), strerror()


PTC MKS Toolkit 10.4 Documentation Build 39.