about summary refs log tree commit diff
path: root/src/string/wcscpy.c
blob: 625bf53d08768c8b147199e8ecd9f1689a342e02 (plain) (blame)
1
2
3
4
5
6
7
8
#include <wchar.h>

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