diff options
Diffstat (limited to 'src/libc/include/netdb.h')
-rw-r--r-- | src/libc/include/netdb.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/libc/include/netdb.h b/src/libc/include/netdb.h new file mode 100644 index 0000000..c88221c --- /dev/null +++ b/src/libc/include/netdb.h @@ -0,0 +1,11 @@ +#pragma once + +struct hostent { + char *h_name; + char **h_aliases; + int h_addrtype; + int h_length; + char **h_addr_list; +}; + +struct hostent *gethostbyname(const char *name); |