Function Name: Compare ACs

Definition

Compares 2 EDCS Attribute Codes (EACs); the function is not case- sensitive. 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

Prototype


extern int
EDCS_CompareACs
(
constEDCS_AC_ID *a_ptr, (notes)
constEDCS_AC_ID *b_ptr (notes)
);

Parameters Notes

a_ptr

  pointer to 1st EDCS Attribute Code (EAC) to be compared

b_ptr

  pointer to 2nd EDCS Attribute Code (EAC) to be compared

Prev: Applies To CC. Next: Compare CCs. Up:Index.