AddTimes

Adds two time values together.

Synopsis

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

Description

Adds two time values together, yielding the total time for both.

Arguments

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

Implementation

Convenience call implemented in clib.lib V24.

Associated Files

time.h, clib.lib

See Also

SubTimes(), CompareTimes()