github.com/afumu/libc@v0.0.6/musl/src/network/ent.c (about) 1 #include <netdb.h> 2 3 void sethostent(int x) 4 { 5 } 6 7 struct hostent *gethostent() 8 { 9 return 0; 10 } 11 12 struct netent *getnetent() 13 { 14 return 0; 15 } 16 17 void endhostent(void) 18 { 19 } 20 21 weak_alias(sethostent, setnetent); 22 weak_alias(endhostent, endnetent);