int strcoll ( const char * string1, const char * string2 );
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.
Returns a value indicating the lexicographical relation between the strings:
return value description <0 string1 is less than string2 0 string1 is the same as string2 >0 string1 is greater than string2
Defined in ANSI-C.
strcmp, strncmp, memcmp