c/string/wide/wmemcmp

Compares the first wide characters of the wide character (or compatible integer type) arrays pointed to by  and. The comparison is done lexicographically.

The sign of the result is the sign of the difference between the values of the first pair of wide characters that differ in the arrays being compared.

If is zero, the function does nothing.

Return value
Negative value if the value of the first differing wide character in is less than the value of the corresponding wide character in :  precedes  in lexicographical order.

if all wide characters of  and  are equal.

Positive value if the value of the first differing wide character in is greater than the value of the corresponding wide character in :  precedes  in lexicographical order.