DIFFTIME(3)

NAME
9.4 `difftime'--subtract two times

SYNOPSIS
     #include <time.h>
     double difftime(time_t TIM1, time_t TIM2);

DESCRIPTION
Subtracts the two times in the arguments: ``TIM1 - TIM2''.

RETURNS
The difference (in seconds) between TIM2 and TIM1, as a `double'.

PORTABILITY
ANSI C requires `difftime', and defines its result to be in seconds in all implementations.
   `difftime' requires no supporting OS subroutines.

SEE ALSO
difftime is part of the library. The full documentation for is maintained as a Texinfo manual. If info and are properly installed at your site, the command

    info

will give you access to the complete manual.