From e7ba98d1c71ff06b015e3acc40dd44289878a17a Mon Sep 17 00:00:00 2001 From: David McCullough Date: Thu, 9 Aug 2001 12:54:00 +0000 Subject: Add hstrerror, it just points to strerror like h_errno. --- include/netdb.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/netdb.h') 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, -- cgit v1.2.3