1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 06:37:44 +00:00

LibC: Change a couple of ASSERT_NOT_REACHED() to TODO()

Just for semantic correctness and better visibility of those
unimplemented stub functions.
This commit is contained in:
Linus Groh 2021-01-17 08:22:20 +01:00 committed by Andreas Kling
parent d64d2ff07b
commit b42f0b9650
8 changed files with 21 additions and 14 deletions

View file

@ -801,7 +801,8 @@ ldiv_t ldiv(long numerator, long denominator)
size_t mbstowcs(wchar_t*, const char*, size_t)
{
ASSERT_NOT_REACHED();
dbgln("FIXME: Implement mbstowcs()");
TODO();
}
int mbtowc(wchar_t* wch, const char* data, [[maybe_unused]] size_t data_size)
@ -821,7 +822,8 @@ int mbtowc(wchar_t* wch, const char* data, [[maybe_unused]] size_t data_size)
int wctomb(char*, wchar_t)
{
ASSERT_NOT_REACHED();
dbgln("FIXME: Implement wctomb()");
TODO();
}
size_t wcstombs(char* dest, const wchar_t* src, size_t max)