mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 01:20:25 +00:00
LibC: Stub out a bunch of wchar functions
This commit is contained in:
parent
230df61aef
commit
e4fa9c917e
Notes:
sideshowbarker
2024-07-18 04:46:35 +09:00
Author: https://github.com/timschumi Commit: https://github.com/SerenityOS/serenity/commit/e4fa9c917e4 Pull-request: https://github.com/SerenityOS/serenity/pull/10058
2 changed files with 42 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue