difftime.3 (474B)
1 .TH DIFFTIME 3 2 .SH NAME 3 difftime - compute the difference between two calendar times 4 .SH SYNOPSIS 5 #include <time.h> 6 7 double difftime(time_t time1, time_t time0) 8 .SH DESCRIPTION 9 The 10 .BR difftime () 11 function computes the elapsed time between two calendar times, 12 .I time1 13 and 14 .IR time0 . 15 .SH RETURN VALUE 16 The elapsed time in seconds from 17 .I time0 18 to 19 .I time1 20 is returned as a double. 21 .SH STANDARDS 22 ISO/IEC 9899:1999 Section 7.23.2.2 Paragraph 1,2,3 23 .SH SEE ALSO 24 .BR time.h (3)