Set wide characters in memory
#include <wchar.h> wchar_t * wmemset( wchar_t * ws, wchar_t wc, size_t n );
- A pointer to the memory that you want to set.
- The value that you want to store in each wide character.
- The number of wide characters to set.
Use the -l c option to qcc to link against this library. This library is usually included automatically.
The memset() function fills n wide characters starting at ws with the value wc.
The wmemset() function is locale-independent and treats all wchar_t values identically, even if they're null or invalid wide characters.
A pointer to the destination buffer (i.e. the same pointer as ws).
Last modified: 2013-09-30