summaryrefslogtreecommitdiff
path: root/userland/libc/include/netdb.h
diff options
context:
space:
mode:
Diffstat (limited to 'userland/libc/include/netdb.h')
-rw-r--r--userland/libc/include/netdb.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/userland/libc/include/netdb.h b/userland/libc/include/netdb.h
index e69de29..4b4dc99 100644
--- a/userland/libc/include/netdb.h
+++ b/userland/libc/include/netdb.h
@@ -0,0 +1,7 @@
+#include <arpa/inet.h>
+#include <sys/socket.h>
+
+int getaddrinfo(const char *restrict node, const char *restrict service,
+ const struct addrinfo *restrict hints,
+ struct addrinfo **restrict res);
+void freeaddrinfo(struct addrinfo *res);