Compares null-terminated strings using locale-specific collating sequences.
#include <string.h> int strcoll (const char *string1, const char *string2); int _strcoll (const char *string1, const char *string2);
#include <wchar.h>
int wcscoll(const wchar_t * string1, const wchar_t * string2);
string1
, string2
A value indicating the relationship:
Value | Description |
---|---|
< 0 | string1 less than string2 |
= 0 | string1 identical to string2 |
> 0 | string1 greater than string2 |
tchar.h routine |
_UNICODE not defined |
_UNICODE defined |
---|---|---|
_tcscoll | strcoll | wcscoll |
Versions | Defined in | Include | Link to |
---|---|---|---|
INtime 3.0 INtime 6.0 (for wide-character and generic text versions) |
intime/rt/include/string.h intime/rt/include/wchar.h intime/rt/include/tchar.h |
string.h wchar.h tchar.h |
clib.lib |