EDCS Reference Manual
Functions EDCS CompareStrings |
---|
extern int | ||||
EDCS_CompareStrings | ||||
( | ||||
const | EDCS_String | * | a_ptr, | (notes) |
const | EDCS_String | * | b_ptr | (notes) |
); |
Compares 2 EDCS_Strings. This function's signature is compatible with qsort.
If the locales match, this is a string comparison; otherwise, the result is determined by the locale comparison.
-1 | if a_ptr is NULL and b_ptr is non-NULL, or *a_ptr < *b_ptr |
0 | if both arguments are NULL, or *a_ptr == *b_ptr |
1 | if b_ptr is NULL and a_ptr is non-NULL, or *a_ptr > *b_ptr |
handle to 1st EDCS_String to be compared
handle to 2nd EDCS_String to be compared
Prev: EDCS_CompareLongFloatValues.
Next: EDCS_ConvertQuantityValue.
Up:Index.
|