Multibyte and wide character string comparison subroutines

The strcmp and strncmp subroutines determine if the contents of two multibyte strings are equivalent. If your application needs to know how the two strings differ lexically, use the multibyte and wide character string collation subroutines.

The following multicultural support subroutines compare wide character strings:

Subroutines Description
wcscmp Compares two wide character strings.
wcsncmp Compares a specific number of wide character strings.