Compares one string to another (see Remarks).
Include
<string.h>
Prototype
int strcoll(const char *s1, const char
*s2);
Arguments
s1
s2
Return Value
Using the locale-dependent rules, it returns a positive number if
s1
is greater than s2
, zero if s1
is equal to s2
or a negative number if s1
is less than
s2
.
Remarks
Since alternate locales are not supported,
this function is equivalent to strcmp
.