EDCS Reference Manual
Functions
EDCS CompareLocales
extern int
EDCS_CompareLocales
(
const EDCS_Locale  *a_ptr,1
const EDCS_Locale  *b_ptr2
);

Definition

Compares two EDCS_Locales. This function's signature is compatible with qsort.


Returns

-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

Parameters Notes

1 handle to 1st EDCS_Locale to be compared

2 handle to 2nd EDCS_Locale to be compared


Prev: EDCS_CompareIntegerValues. Next: EDCS_CompareLongFloatIntervals. Up:Index.