EDCS Reference Manual
Functions
EDCS CompareIntegerUnsignedIntervals
extern int
EDCS_CompareIntegerUnsignedIntervals
(
constEDCS_Integer_Unsigned_Interval *a_ptr, (notes)
constEDCS_Integer_Unsigned_Interval *b_ptr (notes)
);

Definition

Compares 2 EDCS_Integer_Unsigned_Intervals. This function's signature is compatible with qsort. See EDCS_CompareFloatIntervals() for a description of the algorithm used.


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


a_ptr

 handle to 1st EDCS_Integer_Unsigned_Interval to be compared

b_ptr

 handle to 2nd EDCS_Integer_Unsigned_Interval to be compared


Prev: EDCS_CompareIntegerIntervals. Next: EDCS_CompareLocales. Up:Index.

Last updated: May 15, 2003 Copyright © 2003 SEDRIS™