summaryrefslogtreecommitdiff
path: root/Userland
diff options
context:
space:
mode:
authorDaniel Bertalan <dani@danielbertalan.dev>2021-10-16 09:54:18 +0200
committerLinus Groh <mail@linusgroh.de>2021-10-17 17:09:58 +0100
commit763a69d46d16cdd78e57f4709847250607a96df7 (patch)
tree2dd01b685a35a6e204fe6f4766ebfeb1790de3ca /Userland
parent54eee525e6109787d07b94368e31a4979a262c29 (diff)
downloadserenity-763a69d46d16cdd78e57f4709847250607a96df7.zip
LibC: Stub out mbsnrtowcs
Diffstat (limited to 'Userland')
-rw-r--r--Userland/Libraries/LibC/wchar.cpp6
-rw-r--r--Userland/Libraries/LibC/wchar.h1
2 files changed, 7 insertions, 0 deletions
diff --git a/Userland/Libraries/LibC/wchar.cpp b/Userland/Libraries/LibC/wchar.cpp
index 407958e009..33813a6209 100644
--- a/Userland/Libraries/LibC/wchar.cpp
+++ b/Userland/Libraries/LibC/wchar.cpp
@@ -556,4 +556,10 @@ size_t wcsnrtombs(char*, const wchar_t**, size_t, size_t, mbstate_t*)
dbgln("FIXME: Implement wcsnrtombs()");
TODO();
}
+
+size_t mbsnrtowcs(wchar_t*, const char**, size_t, size_t, mbstate_t*)
+{
+ dbgln("FIXME: Implement mbsnrtowcs()");
+ TODO();
+}
}
diff --git a/Userland/Libraries/LibC/wchar.h b/Userland/Libraries/LibC/wchar.h
index 31ff44f85a..6abcbb46e6 100644
--- a/Userland/Libraries/LibC/wchar.h
+++ b/Userland/Libraries/LibC/wchar.h
@@ -62,5 +62,6 @@ size_t wcsrtombs(char*, const wchar_t**, size_t, mbstate_t*);
size_t mbsrtowcs(wchar_t*, const char**, size_t, mbstate_t*);
int wmemcmp(const wchar_t*, const wchar_t*, size_t);
size_t wcsnrtombs(char*, const wchar_t**, size_t, size_t, mbstate_t*);
+size_t mbsnrtowcs(wchar_t*, const char**, size_t, size_t, mbstate_t*);
__END_DECLS