1 #include <wchar.h> 2 wcscpy(wchar_t * restrict d,const wchar_t * restrict s)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 } 9