add all missing wchar functions except floating point parsers
[musl] / src / string / wcpcpy.c
diff --git a/src/string/wcpcpy.c b/src/string/wcpcpy.c
new file mode 100644 (file)
index 0000000..fdf878f
--- /dev/null
@@ -0,0 +1,6 @@
+#include <wchar.h>
+
+wchar_t *wcpcpy(wchar_t *d, const wchar_t *s)
+{
+       return wcscpy(d, s) + wcslen(s);
+}