1wmemset(3)                 Library Functions Manual                 wmemset(3)
2
3
4

NAME

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

LIBRARY

10       Standard C library (libc, -lc)
11

SYNOPSIS

13       #include <wchar.h>
14
15       wchar_t *wmemset(wchar_t wcs[.n], wchar_t wc, size_t n);
16

DESCRIPTION

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

RETURN VALUE

23       wmemset() returns wcs.
24

ATTRIBUTES

26       For an  explanation  of  the  terms  used  in  this  section,  see  at‐
27       tributes(7).
28
29       ┌────────────────────────────────────────────┬───────────────┬─────────┐
30Interface                                   Attribute     Value   
31       ├────────────────────────────────────────────┼───────────────┼─────────┤
32wmemset()                                   │ Thread safety │ MT-Safe │
33       └────────────────────────────────────────────┴───────────────┴─────────┘
34

STANDARDS

36       C11, POSIX.1-2008.
37

HISTORY

39       POSIX.1-2001, C99.
40

SEE ALSO

42       memset(3)
43
44
45
46Linux man-pages 6.05              2023-07-20                        wmemset(3)
Impressum