CompareTimes

Compares two time values.

Synopsis

int32 CompareTimes(const TimeVal *tv1,const TimeVal *tv2);

Description

Compares two time values to determine which came first.

Arguments

tv1
The first time value.
tv2
The second time value.

Return Value

< 0 if (tv1 < tv2)

== 0 if (tv1 == tv2)

> 0 if (tv1 > tv2)

Implementation

Convenience call implemented in clib.lib V24.

Associated Files

time.h, clib.lib

See Also

AddTimes(), SubTimes(), TimeLaterThan(), TimeLaterThanOrEqual()