diff options
Diffstat (limited to 'src/time/difftime.c')
-rw-r--r-- | src/time/difftime.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/time/difftime.c b/src/time/difftime.c new file mode 100644 index 0000000..80a18cc --- /dev/null +++ b/src/time/difftime.c @@ -0,0 +1,6 @@ +#include <time.h> + +double difftime(time_t t1, time_t t0) +{ + return t1-t0; +} |