INtime SDK Help
CompareRtTimeValue
INtime SDK v7.1 > About INtime > INtime Kernel > Time management > CompareRtTimeValue

Compares two TIMEVALUE values.

long CompareRtTimeValue(
    const TIMEVALUE *pTimeValue1,
    const TIMEVALUE *pTimeValue2
);

Parameters

pTimeValue1
The first TIMEVALUE value to compare
pTimeValue2
The second TIMEVALUE value to compare

Return Values

Returns -1 if TimeValue1 is less than TimeValue2, 0 is they are equal, else +1.

Requirements

Versions Defined in Include Link to
INtime 6.0 intime/rt/include/rtbase.h rt.h rt.lib
See Also

Structures