wmemset

Sets a specified value to a specified number of wide characters in an array of wide characters.

Format

#include  <wchar.h>

wchar_t wmemset  (wchar_t *s, wchar_t c, size_t
                 n);
Function Variants This function also has variants named _wmemset32 and _wmemset64 for use with 32-bit and 64-bit pointer sizes, respectively. See Section 1.8 for more information on using pointer-size-specific functions.

Arguments

s
A pointer to the array of wide characters.
c
The value to be placed in the first n wide characters of the array.
n
The number of wide characters to be set to the specified value c.

Description

This function copies the value of c into each of the first n wide characters of the array pointed to by s.

Return Values
The value of s


Previous Page | Next Page | Table of Contents | Index