Compare two character arrays according to locale.
#include <string.h> int strcoll(const char *s1, const char *s2);
s1
The string to compare.
s2
The comparison string.
The ISO/IEC standards specify that this function compares two character arrays based on the LC_COLLATE component of the current locale.
However, the EWL implementation of strcoll() ignores the current locale. Instead, it compares two character arrays using strcmp(). It is included in the string library to conform to the ISO/IEC C Standard Library specification.
The function returns the same values that strcmp() returns.
This facility may not be available on some configurations of the EWL.