1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 06:57:46 +00:00

LibC: Add some wchar functions

These are basically copy and pasted from the regular string version.
Also add some more multi-byte/wide conversion stub.

libarchive wanted these. There's a lot more, but we can add them
one at a time.
This commit is contained in:
Calvin Buckley 2019-10-12 22:47:25 -03:00 committed by Andreas Kling
parent 92953ba2f3
commit ef40ebbe6d
5 changed files with 59 additions and 1 deletions

View file

@ -44,6 +44,8 @@ char* mktemp(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 wctomb(char*, wchar_t);
#define RAND_MAX 32767
int rand();