1570af302Sopenharmony_ci#include <wchar.h> 2570af302Sopenharmony_ci 3570af302Sopenharmony_ciwchar_t *wcscpy(wchar_t *restrict d, const wchar_t *restrict s) 4570af302Sopenharmony_ci{ 5570af302Sopenharmony_ci wchar_t *a = d; 6570af302Sopenharmony_ci while ((*d++ = *s++)); 7570af302Sopenharmony_ci return a; 8570af302Sopenharmony_ci} 9