EDCS Reference Manual
Functions
EDCS CompareAttributeCodes
extern int
EDCS_CompareAttributeCodes
(
constEDCS_Attribute_Code *ea_code1_in_ptr, (notes)
constEDCS_Attribute_Code *ea_code2_in_ptr (notes)
);

Definition

Compares 2 EDCS Attribute Codes. This function's signature is compatible with qsort.


Returns

-1 if *ea_code1_in_ptr < *ea_code2_in_ptr
0 if *ea_code1_in_ptr == *ea_code2_in_ptr
1 if *ea_code1_in_ptr > *ea_code2_in_ptr


Parameters Notes


ea_code1_in_ptr

 handle to 1st EDCS Attribute Code to be compared

ea_code2_in_ptr

 handle to 2nd EDCS Attribute Code to be compared


Prev: EDCS_CloneString. Next: EDCS_CompareCharacters. Up:Index.

Last updated: October 1, 2002 Copyright © 2002 SEDRIS™