move msghdr and cmsghdr out of bits/socket.h
[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;