include cleanups: remove unused headers and add feature test macros
[musl.git] / src / string / wmemset.c
blob07a037a0f92dd667cf0fd7c2ac74319462113664
1 #include <wchar.h>
3 wchar_t *wmemset(wchar_t *d, wchar_t c, size_t n)
5 wchar_t *ret = d;
6 while (n--) *d++ = c;
7 return ret;