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:
parent
92953ba2f3
commit
ef40ebbe6d
5 changed files with 59 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue