aboutsummaryrefslogtreecommitdiffstats
path: root/memory/wmempcpy.c
blob: 67820f0363fcbe4b847769cf8324ec0a11e848f3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#include "memory.h"

wchar_t *wmempcpy(wchar_t *restrict destination, wchar_t const *restrict source,
		  size_t count)
{
	size_t i = 0;
	for (i = 0; i < count; i++)
		destination[i] = source[i];
	return &destination[i];
}