diff options
Diffstat (limited to 'system/include/netdb.h')
-rw-r--r-- | system/include/netdb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/system/include/netdb.h b/system/include/netdb.h index df74a117..fa71f58f 100644 --- a/system/include/netdb.h +++ b/system/include/netdb.h @@ -101,6 +101,7 @@ struct hostent struct hostent* gethostbyaddr(const void* addr, socklen_t len, int type); struct hostent* gethostbyname(const char* name); +struct hostent* gethostbyname_r(const char *name, struct hostent *ret, char *buf, size_t buflen, int *err); // XXX not quite standard, see http://linux.die.net/man/3/gethostbyname_r void sethostent(int stayopen); void endhostent(void); void herror(const char* s); |