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