4 static void D (const char *s
, int e
)
6 printf("%s, %s\n", s
, hstrerror(e
));
9 int main (int argc
, char *argv
[])
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
);