#include <wchar.h>
|
|
int
wcscoll (const wchar_t *s1, const wchar_t *s2); |
No return value is reserved to indicate errors; callers should set errno to 0 before calling wcscoll. If it is non-zero upon return from wcscoll, an error has occurred.
#include <wchar.h>
/* Illustrates how to use wcscoll API */
int example_wcscoll (void)
{
/* compares the two strings */
if( wcscoll(L"abcdef",L"abcdeg") != 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. |
|