c/string/wide/wcscmp

Compares two null-terminated wide strings 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 strings being compared.

The behavior is undefined if or  are not pointers to null-terminated wide strings.

Return value
Negative value if appears before  in lexicographical order.

Zero if and  compare equal.

Positive value if appears after  in lexicographical order.