Compare two wide-character strings
#include <wchar.h> int wcscmp( const wchar_t * ws1, const wchar_t * ws2 );
- ws1, ws2
- The wide-character strings that you want to compare.
Use the -l c option to qcc to link against this library. This library is usually included automatically.
The wcscmp() function compares the wide-characters strings pointed to by ws1 and ws2.
- < 0
- ws1 is less than ws2.
- ws1 is equal to ws2.
- > 0
- ws1 is greater than ws2.
Last modified: 2013-09-30