]> git.proxmox.com Git - wasi-libc.git/blob - libc-top-half/musl/src/string/wcscpy.c
WASI libc prototype implementation.
[wasi-libc.git] / libc-top-half / musl / src / string / wcscpy.c
1 #include <wchar.h>
2
3 wchar_t *wcscpy(wchar_t *restrict d, const wchar_t *restrict s)
4 {
5 wchar_t *a = d;
6 while ((*d++ = *s++));
7 return a;
8 }