projects
/
musl
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
add missing m68k relocation types in elf.h
[musl]
/
src
/
network
/
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
}