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.