mirror of
https://github.com/fluencelabs/musl
synced 2025-05-14 08:11:28 +00:00
10 lines
149 B
C
10 lines
149 B
C
|
#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;
|
||
|
}
|