|
|
The standard character array-manipulation functions, such as memcpy( ), also have wide-character equivalents. They are shown in the following table. These functions use the header <wchar.h>.
| Function | char Equivalent |
|---|---|
| wchar_t *wmemchr(const wchar_t *str, | memchr( ) |
| int wmemcmp(const wchar_t *str1, | memcmp( ) |
| wchar_t *wmemcpy(wchar_t *str1, | memcpy( ) |
| wchar_t *wmemmove(wchar_t *str1, | memmove( ) |
| wchar_t *wmemset(wchar_t *str, wchar_t ch, | memset( ) |
|
|