Standard C++ Library Reference ISO/IEC (VERSION3)
wint_t
typedef i_type wint_t;
The type is the integer type i_type that can represent all values of type wchar_t as well as the value of
the macro WEOF, and that doesn't change when promoted.
wmemchr
wchar_t *wmemchr(const wchar_t *s, wchar_t c,
size_t n); [not in C++]
const wchar_t *wmemchr(const wchar_t *s, wchar_t c,
size_t n); [C++ only]
wchar_t *wmemchr(wchar_t *s, wchar_t c,
size_t n); [C++ only]
The function searches for the first element of an array beginning at the address s with size n, that equals c.
If successful, it returns the address of the matching element; otherwise, it returns a null pointer.
wmemcmp
int wmemcmp(const wchar_t *s1, const wchar_t *s2,
size_t n);
The function compares successive elements from two arrays beginning at the addresses s1 and s2 (both of
size n), until it finds elements that are not equal:
If all elements are equal, the function returns zero.●
If the differing element from s1 is greater than the element from s2, the function returns a positive
number.
●
Otherwise, the function returns a negative number.●
wmemcpy
wchar_t *wmemcpy(wchar_t *s1, const wchar_t *s2,
size_t n);
The function copies the array beginning at the address s2 to the array beginning at the address s1 (both of
size n). It returns s1. The elements of the arrays can be accessed and stored in any order.
wmemmove
wchar_t *wmemmove(wchar_t *s1, const wchar_t *s2,
size_t n);
The function copies the array beginning at s2 to the array beginning at s1 (both of size n). It returns s1. If
the arrays overlap, the function accesses each of the element values from s2 before it stores a new value in
that element, so the copy is not corrupted.