Syntax | #include <wchar.h> int wcsncmp(const wchar_t *ws1, const wchar_t *ws2, size_t n); | |
Description |
For example:
returns 0 (equal), because the first three characters of both arguments match one another. | |
Return val. | Integer value: | |
< 0 | In the first n characters, ws1 is lexically less than ws2. | |
0 | In the first n characters, ws1 and ws2 are lexically equal. | |
> 0 | In the first n characters, ws1 is lexically greater than ws2. | |
Notes | Wide character strings terminated with a null wide character code ( The collating sequence is based on the EBCDIC character set. Restriction | |
See also |
|