#include <wchar.h>
|
|
int
wcsicmp (const wchar_t *wcs1, const wchar_t *wcs2); |
#include <wchar.h>
/* Illustrates how to use wcsicmp API */
int example_wcsicmp(void)
{
/* input strings which needs to be compared */
wchar_t *ws1=L"testcasecmp";
wchar_t *ws2=L"TESTCASECMP";
/* function call to compare the two strings which */
/* differ in case */
int retval = wcsicmp(ws1,ws2);
/* returns 0 if they are equal or > 1 */
/* if first string is greater than second string else -1 */
return retval;
}
|
© 2007-2009 Nokia Corporation. All rights reserved. This documentation can be used in the connection with this Product to help and support the user. |
|