1#include <wchar.h>
2
3wchar_t *wmemset(wchar_t *d, wchar_t c, size_t n)
4{
5	wchar_t *ret = d;
6	while (n--) *d++ = c;
7	return ret;
8}
9