wmemset()

set wide characters in memory 

Function


SYNOPSIS

#include <wchar.h>

wchar_t *wmemset(wchar_t *ws, wchar_t wc, size_t n);


DESCRIPTION

The wmemset() function sets each of the specified number of wide characters in the specified wide character object to the specified value. 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.


PARAMETERS

ws 

Is the destination wide character object.

wc 

Is the value to be assigned to each wide character of the object.

n 

Is the number of wide characters to set.


RETURN VALUES

The wmemset() function returns ws.


CONFORMANCE

ANSI/ISO 9899-1990/AM 1-1995


MULTITHREAD SAFETY LEVEL

MT-Safe.


PORTING ISSUES

None.


AVAILABILITY

PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition


SEE ALSO

Functions:
wmemchr(), wmemcmp(), wmemcpy(), wmemmove()


PTC MKS Toolkit 10.4 Documentation Build 39.