Sign in
mojo
/
mojo-testing
/
f56fd59ec51e1ecdd52fb848ceff1b6b6fe7f7fa
/
.
/
fusl
/
src
/
network
/
gethostbyname.c
blob: ccd9efae9665e1558b0c52a659482fcb840e710a [
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
);
}