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

wchar_t *wmemset(wchar_t *d, wchar_t c, size_t n)
{
	wchar_t *ret = d;
	while (n--) *d++ = c;
	return ret;
}