INtime SDK Help
strcoll, wcscoll
Note: locale support in INtime is limited to the "C" locale

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);

Parameters

string1, string2
Strings to compare; must contain null characters marking the end of the strings. _strcoll is an alternate name for strcoll.
wcscoll is a wide-character version of strcoll.

Return Values

A value indicating the relationship:

Value Description
< 0 string1 less than string2
= 0 string1 identical to string2
> 0 string1 greater than string2

Generic Text Routines

tchar.h routine _UNICODE not defined _UNICODE defined
_tcscoll strcoll wcscoll

Requirements

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
   
See Also