std::wmemset (3) - Linux Man Pages
Defined in header <cwchar>
wchar_t* wmemset( wchar_t* dest, wchar_t ch, std::size_t count );
Copies the wide character ch into each of the first count wide characters of the wide character array pointed to by dest.
If overflow occurs, the behavior is undefined.
If count is zero, the function does nothing.
dest - pointer to the wide character array to fill
ch - fill wide character
count - number of wide characters to fill
Returns a copy of dest
This function is not locale-sensitive and pays no attention to the values of the wchar_t objects it writes: nulls as well as invalid wide characters are written too.
// Run this code
fill_n (function template)