- Function
Compare two strings.
- Header
- Declaration
int __fastcall__ strcoll (const char* s1, const char* s2);
- Description
The
strcoll
function compares the two strings passed as parameters, according to the collating sequence set bysetlocale
. It returns a value that is less than zero ifs1
is less thans2
, zero ifs1
is the same ass2
, and a value greater than zero ifs1
is greater thans2
.- Limits
- The function is only available as fastcall function, so it may only be used in presence of a prototype.
- Availability
ISO 9899
- See also
- Example
None.