Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
musl
/
d41cdef9198e635270d30e82be939d4ea0cbce82
/
.
/
src
/
network
/
gethostbyname.c
blob: bfedf52ad65bfc6fb1b1c3304c67d9049aa584aa [
file
] [
log
] [
blame
]
#define
_GNU_SOURCE
#include
<sys/socket.h>
#include
<netdb.h>
#include
<string.h>
#include
<netinet/in.h>
struct
hostent
*
gethostbyname
(
const
char
*
name
)
{
return
gethostbyname2
(
name
,
AF_INET
);
}