musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/src/string/wmemcpy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/string/wmemcpy.c')
-rw-r--r--src/string/wmemcpy.c 9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/string/wmemcpy.c b/src/string/wmemcpy.c
new file mode 100644
index 00000000..330e37c7
--- /dev/null
+++ b/src/string/wmemcpy.c
@@ -0,0 +1,9 @@
+#include <string.h>
+#include <wchar.h>
+
+wchar_t *wmemcpy(wchar_t *d, const wchar_t *s, size_t n)
+{
+ wchar_t *a = d;
+ while (n--) *d++ = *s++;
+ return a;
+}
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月10日 13:15:42 +0000

AltStyle によって変換されたページ (->オリジナル) /