aboutsummaryrefslogtreecommitdiffstats
path: root/memory/wcsncmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'memory/wcsncmp.c')
-rw-r--r--memory/wcsncmp.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/memory/wcsncmp.c b/memory/wcsncmp.c
new file mode 100644
index 0000000..6ebd43c
--- /dev/null
+++ b/memory/wcsncmp.c
@@ -0,0 +1,6 @@
+#include "memory.h"
+
+int wcsncmp(wchar_t const *string1, wchar_t const *string2, size_t size)
+{
+ return wmemccmp(string1, string2, L'\0', size);
+}