wchar_t* wmemset (wchar_t* ptr, wchar_t wc, size_t num);
12345678910
/* wmemset example */ #include <wchar.h> int main () { wchar_t wcs[] = L"almost every programmer should know wmemset!"; wmemset (wcs,L'-',6); wprintf (L"%ls\n",wcs); return 0; }
------ every programmer should know wmemset!