#include <wchar.h>
|
|
int
wcsnicoll (const wchar_t *s1, const wchar_t *s2, int n); |
No return value is reserved to indicate errors; callers should set errno to 0 before calling wcsnicoll. If it is non-zero upon return from wcsnicoll, an error has occurred.
#include <wchar.h>
/* Illustrates how to use wcsnicoll API */
int example_wcsnicoll (void)
{
/* compares the two strings */
if( wcsnicoll(L"abcdef",L"abcdeg",7) != L’f’-L’g’)
return -1;
return 0;
}
| [EILSEQ] | |
| An invalid wide character code was specified. | |
| [ENOMEM] | |
| Cannot allocate enough memory for temporary buffers. | |
|
© 2007-2009 Nokia Corporation. All rights reserved. This documentation can be used in the connection with this Product to help and support the user. |
|