|
||
double difftime( time_t t2, time_t t1 )
time_t t2; /* ending time */ time_t t1; /* starting time */
|
|
|
Synopsis |
#include "time.h"
The difftime function computes the difference in time between t1 and t2 .
|
|
Parameters |
t1 and t2 are time values, as obtained by time .
|
|
Return Value |
difftime returns the double precision value of t2 - t1, expressed in seconds.
|
|
See Also |
|
|
|
|