1#include <wchar.h> 2 3wchar_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