EDCS Reference Manual
Functions
EDCS CompareCharacters
extern int
EDCS_CompareCharacters
(
constEDCS_Character *a_ptr, (notes)
constEDCS_Character *b_ptr (notes)
);

Definition

Compares 2 EDCS_Characters, on the assumption that they are defined by the same EDCS_Locale. This function's signature is compatible with qsort.


Returns

-1 if *a_ptr < *b_ptr
0 if *a_ptr == *b_ptr
1 if *a_ptr > *b_ptr


Parameters Notes


a_ptr

 handle to 1st EDCS_Character to be compared

b_ptr

 handle to 2nd EDCS_Character to be compared


Prev: EDCS_CloneString. Next: EDCS_CompareCountIntervals. Up:Index.

Last updated: July 16, 2004 Copyright © 2004 SEDRIS