1WMEMSET(3) Linux Programmer's Manual WMEMSET(3)
2
3
4
6 wmemset - fill an array of wide-characters with a constant wide charac‐
7 ter
8
10 #include <wchar.h>
11
12 wchar_t *wmemset(wchar_t *wcs, wchar_t wc, size_t n);
13
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
20 wmemset() returns wcs.
21
23 For an explanation of the terms used in this section, see
24 attributes(7).
25
26 ┌──────────┬───────────────┬─────────┐
27 │Interface │ Attribute │ Value │
28 ├──────────┼───────────────┼─────────┤
29 │wmemset() │ Thread safety │ MT-Safe │
30 └──────────┴───────────────┴─────────┘
32 POSIX.1-2001, POSIX.1-2008, C99.
33
35 memset(3)
36
38 This page is part of release 5.04 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)