LibC: Stub out a bunch of wchar functions

This commit is contained in:
Tim Schumacher 2021-06-02 20:54:31 +02:00 committed by Andreas Kling
parent 230df61aef
commit e4fa9c917e
Notes: sideshowbarker 2024-07-18 04:46:35 +09:00
2 changed files with 42 additions and 0 deletions

View file

@ -159,4 +159,40 @@ wint_t btowc(int)
dbgln("FIXME: Implement btowc()");
TODO();
}
size_t mbrtowc(wchar_t*, const char*, size_t, mbstate_t*)
{
dbgln("FIXME: Implement mbrtowc()");
TODO();
}
size_t mbrlen(const char*, size_t, mbstate_t*)
{
dbgln("FIXME: Implement mbrlen()");
TODO();
}
size_t wcrtomb(char*, wchar_t, mbstate_t*)
{
dbgln("FIXME: Implement wcrtomb()");
TODO();
}
int wcscoll(const wchar_t*, const wchar_t*)
{
dbgln("FIXME: Implement wcscoll()");
TODO();
}
int wctob(wint_t)
{
dbgln("FIXME: Implement wctob()");
TODO();
}
int mbsinit(const mbstate_t*)
{
dbgln("FIXME: Implement mbsinit()");
TODO();
}
}

View file

@ -34,5 +34,11 @@ wchar_t* wcstok(wchar_t*, const wchar_t*, wchar_t**);
long wcstol(const wchar_t*, wchar_t**, int);
long long wcstoll(const wchar_t*, wchar_t**, int);
wint_t btowc(int c);
size_t mbrtowc(wchar_t*, const char*, size_t, mbstate_t*);
size_t mbrlen(const char*, size_t, mbstate_t*);
size_t wcrtomb(char*, wchar_t, mbstate_t*);
int wcscoll(const wchar_t*, const wchar_t*);
int wctob(wint_t);
int mbsinit(const mbstate_t*);
__END_DECLS