mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 12:57:34 +00:00
LibC: Stub out some addrinfo things
This commit is contained in:
parent
4519950266
commit
0c07c005b5
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