mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 03:27:39 +00:00
Expose gethostbyname()
This commit is contained in:
parent
c8e25d811c
commit
edd5e2c8e3
1 changed files with 0 additions and 4 deletions
4
third_party/musl/netdb.h
vendored
4
third_party/musl/netdb.h
vendored
|
@ -102,9 +102,6 @@ struct protoent *getprotobynumber (int);
|
|||
#define NI_MAXHOST 255
|
||||
#define NI_MAXSERV 32
|
||||
|
||||
#if defined(_COSMO_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE) || defined(_POSIX_SOURCE) \
|
||||
|| (defined(_POSIX_C_SOURCE) && _POSIX_C_SOURCE+0 < 200809L) \
|
||||
|| (defined(_XOPEN_SOURCE) && _XOPEN_SOURCE+0 < 700)
|
||||
struct hostent *gethostbyname (const char *);
|
||||
struct hostent *gethostbyaddr (const void *, uint32_t, int);
|
||||
errno_t *__h_errno_location(void) dontthrow pureconst;
|
||||
|
@ -114,7 +111,6 @@ errno_t *__h_errno_location(void) dontthrow pureconst;
|
|||
#define NO_RECOVERY 3
|
||||
#define NO_DATA 4
|
||||
#define NO_ADDRESS NO_DATA
|
||||
#endif
|
||||
|
||||
#if defined(_COSMO_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
|
||||
void herror(const char *);
|
||||
|
|
Loading…
Reference in a new issue