1wmemcpy(3C) Standard C Library Functions wmemcpy(3C)
2
3
4
6 wmemcpy - copy wide-characters in memory
7
9 #include <wchar.h>
10
11 wchar_t *wmemcpy(wchar_t *ws1, const wchar_t *ws2, size_t n);
12
13
15 The wmemcpy() function copies n wide-characters from the object pointed
16 to by ws2 to the object pointed to be ws1. 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 zero, ws1 and ws2 must be a valid pointers, and the function
23 copies zero wide-characters.
24
26 The wmemcpy() function returns the value of ws1.
27
29 No errors are defined.
30
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
46 wmemchr(3C), wmemcmp(3C), wmemmove(3C), wmemset(3C), attributes(5),
47 standards(5)
48
49
50
51SunOS 5.11 14 Aug 2002 wmemcpy(3C)