diff options
Diffstat (limited to 'system/lib/libc/musl/src/string/wmemset.c')
-rw-r--r-- | system/lib/libc/musl/src/string/wmemset.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/system/lib/libc/musl/src/string/wmemset.c b/system/lib/libc/musl/src/string/wmemset.c new file mode 100644 index 00000000..1a2a8618 --- /dev/null +++ b/system/lib/libc/musl/src/string/wmemset.c @@ -0,0 +1,9 @@ +#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; +} |