diff options
author | David McCullough <davidm@snapgear.com> | 2001-08-09 12:54:00 +0000 |
---|---|---|
committer | David McCullough <davidm@snapgear.com> | 2001-08-09 12:54:00 +0000 |
commit | e7ba98d1c71ff06b015e3acc40dd44289878a17a (patch) | |
tree | 86d9e47a39d2f7af176ee5f92db7a86abd1f4db9 /include | |
parent | cc0664cff3f0cb0c18c9f3deaa1ec40185d50c0b (diff) |
Add hstrerror, it just points to strerror like h_errno.
Diffstat (limited to 'include')
-rw-r--r-- | include/netdb.h | 2 |
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, |