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:
parent
4519950266
commit
0c07c005b5
Notes:
sideshowbarker
2024-07-18 22:15:01 +09:00
Author: https://github.com/alimpfard
Commit: 0c07c005b5
Pull-request: https://github.com/SerenityOS/serenity/pull/5325
Issue: https://github.com/SerenityOS/serenity/issues/90
Reviewed-by: https://github.com/BenWiederhake
Reviewed-by: https://github.com/linusg
Reviewed-by: https://github.com/sunverwerth
2 changed files with 46 additions and 0 deletions
|
@ -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";
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue