1WMEMSET(3)                 Linux Programmer's Manual                WMEMSET(3)
2
3
4

NAME

6       wmemset - fill an array of wide-characters with a constant wide charac‐
7       ter
8

SYNOPSIS

10       #include <wchar.h>
11
12       wchar_t *wmemset(wchar_t *wcs, wchar_t wc, size_t n);
13

DESCRIPTION

15       The wmemset() function is the wide-character  equivalent  of  the  mem‐
16       set(3)  function.   It fills the array of n wide-characters starting at
17       wcs with n copies of the wide character wc.
18

RETURN VALUE

20       wmemset() returns wcs.
21

ATTRIBUTES

23       For  an  explanation  of  the  terms  used   in   this   section,   see
24       attributes(7).
25
26       ┌──────────┬───────────────┬─────────┐
27Interface Attribute     Value   
28       ├──────────┼───────────────┼─────────┤
29wmemset() │ Thread safety │ MT-Safe │
30       └──────────┴───────────────┴─────────┘

CONFORMING TO

32       POSIX.1-2001, POSIX.1-2008, C99.
33

SEE ALSO

35       memset(3)
36

COLOPHON

38       This  page  is  part of release 4.15 of the Linux man-pages project.  A
39       description of the project, information about reporting bugs,  and  the
40       latest     version     of     this    page,    can    be    found    at
41       https://www.kernel.org/doc/man-pages/.
42
43
44
45GNU                               2015-08-08                        WMEMSET(3)
Impressum