/*++ /* NAME /* dns_strerror 3 /* SUMMARY /* name service lookup error code to string /* SYNOPSIS /* #include <dhs.h> /* /* const char *dns_strerror(code) /* int code; /* DESCRIPTION /* dns_strerror() maps a name service lookup error to printable string. /* The result is for read-only purposes, and unknown codes share a /* common string buffer. /* LICENSE /* .ad /* .fi /* The Secure Mailer license must be distributed with this software. /* AUTHOR(S) /* Wietse Venema /* IBM T.J. Watson Research /* P.O. Box 704 /* Yorktown Heights, NY 10598, USA
/*--*/
staticstruct dns_error_map dns_error_map[] = {
HOST_NOT_FOUND, "Host not found",
TRY_AGAIN, "Host not found, try again",
NO_RECOVERY, "Non-recoverable error",
NO_DATA, "Host found but no data record of requested type",
};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.