DIFFTIME(3C-SVR4) RISC/os Reference Manual DIFFTIME(3C-SVR4)
NAME
difftime - computes the difference between two calendar
times
SYNOPSIS
#include <time.h>
double difftime (timet time1, timet time0);
DESCRIPTION
difftime computes the difference between two calendar times.
difftime returns the difference (time1-time0) expressed in
seconds as a double. This function is provided because
there are no general arithmetic properties defined for type
time_t.
SEE ALSO
ctime(3C).
Printed 11/19/92 Page 1