diff options
Diffstat (limited to 'system/lib/libc/musl/src/string/wcscpy.c')
-rw-r--r-- | system/lib/libc/musl/src/string/wcscpy.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/system/lib/libc/musl/src/string/wcscpy.c b/system/lib/libc/musl/src/string/wcscpy.c new file mode 100644 index 00000000..625bf53d --- /dev/null +++ b/system/lib/libc/musl/src/string/wcscpy.c @@ -0,0 +1,8 @@ +#include <wchar.h> + +wchar_t *wcscpy(wchar_t *restrict d, const wchar_t *restrict s) +{ + wchar_t *a = d; + while ((*d++ = *s++)); + return a; +} |