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 wchar_t* a = d; 5 while ((*d++ = *s++)) 6 ; 7 return a; 8 } 9