1570af302Sopenharmony_ci#include <wchar.h> 2570af302Sopenharmony_ci 3570af302Sopenharmony_ciwchar_t *wmemset(wchar_t *d, wchar_t c, size_t n) 4570af302Sopenharmony_ci{ 5570af302Sopenharmony_ci wchar_t *ret = d; 6570af302Sopenharmony_ci while (n--) *d++ = c; 7570af302Sopenharmony_ci return ret; 8570af302Sopenharmony_ci} 9