musl-tcc/src/string/wmemset.c

9 lines
129 B
C
Raw Normal View History

2022-03-20 08:48:53 +00:00
#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;
}