LibC: A bunch of compat work towards porting GCC.

This commit is contained in:
Andreas Kling 2019-02-24 15:19:32 +01:00
commit 93c0dfd1d7
Notes: sideshowbarker 2024-07-19 15:38:12 +09:00
18 changed files with 166 additions and 13 deletions

View file

@ -309,4 +309,24 @@ size_t mbstowcs(wchar_t*, const char*, size_t)
assert(false);
}
int atexit(void (*function)())
{
(void)function;
assert(false);
}
long strtol(const char*, char** endptr, int base)
{
(void)endptr;
(void)base;
assert(false);
}
unsigned long strtoul(const char*, char** endptr, int base)
{
(void)endptr;
(void)base;
assert(false);
}
}