libc.info: wmemset

Go forward to wcscat
Go backward to wmemmove
Go up to Wchar strings
Go to the top op libc

`wmemset'--set wide-characters in memory

*Synopsis*
     #include <wchar.h>
     wchar_t *wmemset(wchar_t *S, wchar_t C, size_t N);
   *Description*
The `wmemset' function copies the value of C into each of the first N
wide-characters of the object pointed to by S.  This function is not
affected by locale and all wchar_t values are treated identically.  The
null wide-character and wchar_t values not corresponding to valid
characters are not treated specially.
   If N is zero, S must be a valid pointer and the function copies zero
wide-characters.
*Returns*
The `wmemset' functions returns the value of S.
*Portability*
`wmemset' is ISO/IEC 9899/AMD1:1995 (ISO C).  No supporting OS
subroutines are required.