mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-07 17:15:26 +00:00
LibC: Made mbtowc return int instead of size_t
This commit is contained in:
@@ -796,7 +796,7 @@ size_t mbstowcs(wchar_t*, const char*, size_t)
|
||||
ASSERT_NOT_REACHED();
|
||||
}
|
||||
|
||||
size_t mbtowc(wchar_t* wch, const char* data, size_t data_size)
|
||||
int mbtowc(wchar_t* wch, const char* data, size_t data_size)
|
||||
{
|
||||
// FIXME: This needs a real implementation.
|
||||
UNUSED_PARAM(data_size);
|
||||
|
||||
@@ -74,7 +74,7 @@ int mkstemp(char*);
|
||||
char* mkdtemp(char*);
|
||||
void* bsearch(const void* key, const void* base, size_t nmemb, size_t size, int (*compar)(const void*, const void*));
|
||||
size_t mbstowcs(wchar_t*, const char*, size_t);
|
||||
size_t mbtowc(wchar_t*, const char*, size_t);
|
||||
int mbtowc(wchar_t*, const char*, size_t);
|
||||
int wctomb(char*, wchar_t);
|
||||
size_t wcstombs(char*, const wchar_t*, size_t);
|
||||
char* realpath(const char* pathname, char* buffer);
|
||||
|
||||
Reference in New Issue
Block a user