summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid McCullough <davidm@snapgear.com>2001-08-09 12:54:00 +0000
committerDavid McCullough <davidm@snapgear.com>2001-08-09 12:54:00 +0000
commite7ba98d1c71ff06b015e3acc40dd44289878a17a (patch)
tree86d9e47a39d2f7af176ee5f92db7a86abd1f4db9
parentcc0664cff3f0cb0c18c9f3deaa1ec40185d50c0b (diff)
Add hstrerror, it just points to strerror like h_errno.
-rw-r--r--include/netdb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/netdb.h b/include/netdb.h
index 96358bd85..84191b68d 100644
--- a/include/netdb.h
+++ b/include/netdb.h
@@ -175,6 +175,8 @@ void setprotoent __P((int));
void setservent __P((int));
void setrpcent __P((int));
+#define hstrerror(x) strerror(x)
+
#if defined(_POSIX_THREAD_SAFE_FUNCTIONS) || defined(_REENTRANT)
struct hostent *gethostbyaddr_r __P((const char *__addr,
int __length, int __type,