LibC: Add wcstok, wcstol and swprintf stubs

These are needed for our python3 port
This commit is contained in:
Bananymous 2025-08-07 16:27:16 +03:00
parent 064d9009a2
commit d845ecc811
1 changed files with 4 additions and 0 deletions

View File

@ -24,6 +24,10 @@ int wcwidth(wchar_t wc)
return wc != '\0';
}
wchar_t* wcstok(wchar_t* __restrict, const wchar_t* __restrict, wchar_t** __restrict) { ASSERT_NOT_REACHED(); }
long wcstol(const wchar_t* __restrict, wchar_t** __restrict, int) { ASSERT_NOT_REACHED(); }
int swprintf(wchar_t* __restrict, size_t, const wchar_t* __restrict, ...) { ASSERT_NOT_REACHED(); }
size_t wcrtomb(char* __restrict s, wchar_t ws, mbstate_t* __restrict ps)
{
(void)ps;