Rich Felker | 0b44a03 | 2011-02-12 00:22:29 -0500 | [diff] [blame] | 1 | #include <wchar.h> |
2 | |||||
Rich Felker | 400c5e5 | 2012-09-06 22:44:55 -0400 | [diff] [blame] | 3 | wchar_t *wcscpy(wchar_t *restrict d, const wchar_t *restrict s) |
Rich Felker | 0b44a03 | 2011-02-12 00:22:29 -0500 | [diff] [blame] | 4 | { |
5 | wchar_t *a = d; | ||||
6 | while ((*d++ = *s++)); | ||||
7 | return a; | ||||
8 | } |