projects
/
musl
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
bfedf52ad65bfc6fb1b1c3304c67d9049aa584aa
[musl]
/
gethostbyname.c
1
#define _GNU_SOURCE
2
3
#include <sys/socket.h>
4
#include <netdb.h>
5
#include <string.h>
6
#include <netinet/in.h>
7
8
struct hostent *gethostbyname(const char *name)
9
{
10
return gethostbyname2(name, AF_INET);
11
}