1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 11:17:35 +00:00

LibC: A whole bunch of compat work towards porting Lynx.

This commit is contained in:
Andreas Kling 2019-03-14 15:18:15 +01:00
parent 48590a0e51
commit 2c3cf22bc9
10 changed files with 125 additions and 5 deletions

18
LibC/netdb.h Normal file
View file

@ -0,0 +1,18 @@
#pragma once
#include <sys/cdefs.h>
#include <sys/types.h>
__BEGIN_DECLS
struct hostent {
char* h_name;
char** h_aliases;
int h_addrtype;
int h_length;
char** h_addr_list;
};
struct hostent *gethostbyname(const char*);
__END_DECLS