difftime.3 - scc - simple c99 compiler
(HTM) git clone git://git.simple-cc.org/scc
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Submodules
(DIR) README
(DIR) LICENSE
---
difftime.3 (452B)
---
1 .TH DIFFTIME 3
2 .SH NAME
3 difftime - calculate time difference
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 returns the difference (time1 - time0)
12 between time
13 .I time1
14 and time
15 .IR time0 .
16 .SH RETURN VALUE
17 The value returned is the number of seconds elapsed,
18 represented as a double.
19 .SH STANDARDS
20 ISO/IEC 9899:1999 Section 7.23.2.2 Paragraph 1,2,3
21 .SH SEE ALSO
22 .BR time.h (3)