summaryrefslogtreecommitdiff
path: root/src/wchar/wcscpy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wchar/wcscpy.c')
-rw-r--r--src/wchar/wcscpy.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/wchar/wcscpy.c b/src/wchar/wcscpy.c
new file mode 100644
index 00000000..2f92bc3f
--- /dev/null
+++ b/src/wchar/wcscpy.c
@@ -0,0 +1,10 @@
+#include <wchar.h>
+
+wchar_t * wcscpy(wchar_t * restrict s1, const wchar_t * restrict s2)
+{
+ return wcsncpy(s1, s2, wcslen(s2));
+}
+
+/*
+STDC(199409)
+*/