1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-11 02:13:56 +09:00

LibC: Stub out some addrinfo things

This commit is contained in:
AnotherTest 2021-02-12 23:20:27 +03:30 committed by Andreas Kling
parent 4519950266
commit 0c07c005b5
Notes: sideshowbarker 2024-07-18 22:15:01 +09:00
2 changed files with 46 additions and 0 deletions

View file

@ -654,4 +654,23 @@ static bool fill_getproto_buffers(const char* line, ssize_t read)
return true;
}
int getaddrinfo(const char* __restrict node, const char* __restrict service, const struct addrinfo* __restrict hints, struct addrinfo** __restrict res)
{
(void)node;
(void)service;
(void)hints;
(void)res;
ASSERT_NOT_REACHED();
}
void freeaddrinfo(struct addrinfo* res)
{
(void)res;
ASSERT_NOT_REACHED();
}
const char* gai_strerror(int errcode)
{
(void)errcode;
return "Not yet implemented";
}
}