aboutsummaryrefslogtreecommitdiff
path: root/src/string/wcscpy.c
blob: 2774fb7f5dd8927d46a05185125de90f9364b405 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <wchar.h>

wchar_t *wcscpy(wchar_t *restrict d, const wchar_t *restrict s)
{
	wchar_t *a = d;
	while ((*d++ = *s++));
	return a;
}


#ifdef TEST
int
main(void) {
	return 0;
}
#endif