SubTimes

Subtracts one time value from another.

Synopsis

void SubTimes(const TimeVal *tv1, const TimeVal *tv2,TimeVal *result);

Description

Subtracts two time values, yielding the difference in time between the two.

Arguments

tv1
The first time value.
tv2
The second time value.
result
A pointer to the location where the resulting time value will be stored. This pointer can match either of tv1 or tv2. The value stored corresponds to (tv2 - tv1).

Implementation

Convenience call implemented in clib.lib V24.

Associated Files

time.h, clib.lib

See Also

AddTimes(), CompareTimes()