summaryrefslogtreecommitdiff
path: root/src/string/wcscpy.c
blob: e0ac194f3a1f4a31d81e981cba6c8646eed479c8 (plain)
1
2
3
4
5
6
7
8
#include <wchar.h>

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