1wmemset(3C)              Standard C Library Functions              wmemset(3C)
2
3
4

NAME

6       wmemset - set wide-characters in memory
7

SYNOPSIS

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

DESCRIPTION

15       The  wmemset() function copies the value of wc into each of the first n
16       wide-characters of the object pointed to by ws. This  function  is  not
17       affected by locale and all wchar_t values are treated identically.  The
18       null wide-character and  wchar_t  values  not  corresponding  to  valid
19       characters are not treated specially.
20
21
22       If  n  is  0,   ws must be a valid pointer and the function copies zero
23       wide-characters.
24

RETURN VALUES

26       The wmemset() functions returns the value of ws.
27

ERRORS

29       No errors are defined.
30

ATTRIBUTES

32       See attributes(5) for descriptions of the following attributes:
33
34
35
36
37       ┌─────────────────────────────┬─────────────────────────────┐
38       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
39       ├─────────────────────────────┼─────────────────────────────┤
40       │Interface Stability          │Standard                     │
41       ├─────────────────────────────┼─────────────────────────────┤
42       │MT-Level                     │MT-Safe                      │
43       └─────────────────────────────┴─────────────────────────────┘
44

SEE ALSO

46       wmemchr(3C),  wmemcmp(3C),  wmemcpy(3C),  wmemmove(3C),  attributes(5),
47       standards(5)
48
49
50
51SunOS 5.11                        14 Aug 2002                      wmemset(3C)
Impressum