aboutsummaryrefslogtreecommitdiffstats
path: root/memory/wmemcpy.c
diff options
context:
space:
mode:
Diffstat (limited to 'memory/wmemcpy.c')
-rw-r--r--memory/wmemcpy.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/memory/wmemcpy.c b/memory/wmemcpy.c
new file mode 100644
index 0000000..4c5d947
--- /dev/null
+++ b/memory/wmemcpy.c
@@ -0,0 +1,8 @@
+#include "memory.h"
+
+wchar_t *wmemcpy(wchar_t *restrict destination, wchar_t const *restrict source,
+ size_t count)
+{
+ mempcpy(destination, source, count);
+ return destination;
+}