]> pd.if.org Git - pdclib/blob - functions/time/difftime.c
Started implementation of <time.h>
[pdclib] / functions / time / difftime.c
1 /* difftime( time_t, time_t )
2
3    This file is part of the Public Domain C Library (PDCLib).
4    Permission is granted to use, modify, and / or redistribute at will.
5 */
6
7 #include <time.h>
8
9 #ifndef REGTEST
10
11 double difftime( time_t time1, time_t time0 )
12 {
13     return 0.0;
14 }
15
16 #endif
17
18 #ifdef TEST
19
20 #include "_PDCLIB_test.h"
21
22 int main( void )
23 {
24     TESTCASE( NO_TESTDRIVER );
25     return TEST_RESULTS;
26 }
27
28 #endif