aboutsummaryrefslogtreecommitdiff
path: root/system/lib/libc/musl/src/string/wmemset.c
blob: 1a2a8618d1b037851270459fb7756816ee6fe9d4 (plain)
1
2
3
4
5
6
7
8
9
#include <string.h>
#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;
}