DEADSOFTWARE

old changes removed
[bbcp.git] / BlackBox / _OpenBSD_ / Lin / Mod / gen-Net / dumphstrerrno.c
1 #include <netdb.h>
2 #include <stdio.h>
4 static void D (const char *s, int e)
5 {
6 printf("%s, %s\n", s, hstrerror(e));
7 }
9 int main (int argc, char *argv[])
10 {
11 D("NETDB_INTERNAL", NETDB_INTERNAL);
12 D("NETDB_SUCCESS", NETDB_SUCCESS);
13 D("HOST_NOT_FOUND", HOST_NOT_FOUND);
14 D("TRY_AGAIN", TRY_AGAIN);
15 D("NO_RECOVERY", NO_RECOVERY);
16 D("NO_DATA", NO_DATA);
18 return 0;
19 }