Sign in
fuchsia
/
zircon
/
/
13ee3dc5e4c46bf127977ad28645c47442ec517d
/
.
/
third_party
/
ulib
/
musl
/
src
/
network
/
gethostbyname.c
blob: 5fe8d716240dcf62e4614cc20635f92b2eb560f2 [
file
] [
log
] [
blame
]
#define
_GNU_SOURCE
#include
<netdb.h>
#include
<netinet/in.h>
#include
<string.h>
#include
<sys/socket.h>
struct
hostent
*
gethostbyname
(
const
char
*
name
)
{
return
gethostbyname2
(
name
,
AF_INET
);
}