summaryrefslogtreecommitdiff
path: root/Libraries/LibC/wchar.h
diff options
context:
space:
mode:
authorCalvin Buckley <calvin@cmpct.info>2019-10-12 22:47:25 -0300
committerAndreas Kling <awesomekling@gmail.com>2019-10-13 08:44:47 +0200
commitef40ebbe6daac8c9b5d177b9d39119498724aaff (patch)
treef14feb1989b44fb42f745a13106f9dfa268d7203 /Libraries/LibC/wchar.h
parent92953ba2f3f5ae3384d0fd9cbd8b08f20e93bb6e (diff)
downloadserenity-ef40ebbe6daac8c9b5d177b9d39119498724aaff.zip
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.
Diffstat (limited to 'Libraries/LibC/wchar.h')
-rw-r--r--Libraries/LibC/wchar.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Libraries/LibC/wchar.h b/Libraries/LibC/wchar.h
index d28d0d4c7d..0c69365e7f 100644
--- a/Libraries/LibC/wchar.h
+++ b/Libraries/LibC/wchar.h
@@ -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