1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 04:57:45 +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

@ -9,4 +9,9 @@ __BEGIN_DECLS
# define WEOF (0xffffffffu)
#endif
size_t wcslen(const wchar_t*);
wchar_t* wcscpy(wchar_t*, const wchar_t*);
int wcscmp(const wchar_t*, const wchar_t*);
wchar_t* wcschr(const wchar_t*, int);
__END_DECLS