I wanted to do a strncmp() between 2 strings
The problem is one argument is unsigned char *string and the other is a
wide char array.
I wanted to know what is a good solution in this case.
Do I need to use mbstowcs/mbsnrtowcs to convert the char string to a wide char array and then use oone of wchar compare APIs
.Just casting the arguments won't do I presume since storage requirements
Also are there any portability issues/limitations in doing this.