wmemcmp function — Compares wide strings
int wmemcmp(const wchar_t* s1, const wchar_t* s2, size_t n)
The wmemcmp
function
compares the first n
wide
characters of s1
and s2
. If all n
wide characters are equal, the return
value is 0
. Otherwise, the return
value is positive if s1
is
greater than s2
or negative if
s1
is less than s2
.
wcscmp function, wcsncmp function, equal
in <algorithm>
, lexicographical_compare
in <algorithm>
, mismatch
in <algorithm>
, memcmp
in <cstring>