HELPLIB.HLB  —  CRTL  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);

1  –  Function Variants

    The wmemset function has variants named _wmemset32 and _wmemset64
    for use with 32-bit and 64-bit pointer sizes, respectively.

2  –  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.

3  –  Description

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

4  –  Return Value

    x                  The value of s.
Close Help