Writes a message to standard error explaining h_error. Format #include <netdb.h> void herror (const char *string);
1 – Argument
string A user-printable string.
2 – Description
This function maps the error number in the external variable h_ errno to a locale-dependent error message.