strcoll
int  strcoll ( const char * string1, const char * string2 );
string.h
  cplusplus.com  

Compare two strings using locale settings.
  Compares string1 to string2 character by character according to the character table set by current locale.
  This function starts comparing the first character of each string. If they are equal to each other continues with the following pair until the characters differ or until end of string is reached.
  The behavor of this function is the same as strcmp but using locale character set order to compare.

Parameters.

string1
Null-terminated string to compare.
string2
Null-terminated string to compare.

Return Value.
  Returns a value indicating the lexicographical relation between the strings:

return valuedescription
<0string1 is less than string2
0string1 is the same as string2
>0string1 is greater than string2

Portability.
  Defined in ANSI-C.

See also.
  strcmp, strncmp, memcmp


© The C++ Resources Network, 2000