1 /* 2 * COPYRIGHT: LGPL, See LGPL.txt in the top level directory 3 * PROJECT: ReactOS CRT library 4 * FILE: lib/sdk/crt/time/difftime.c 5 * PURPOSE: Implementation of difftime 6 * PROGRAMERS: Timo Kreuzer 7 */ 8 #include <time.h> 9 #include "bitsfixup.h" 10 11 /** 12 * \name difftime 13 * \brief Retrurns the difference between two time_t values in seconds. 14 * \param time1 Beginning time. 15 * \param time2 Ending time. 16 */ 17 double 18 difftime( 19 time_t time1, /**< Beginning time */ 20 time_t time2) /**< Ending time */ 21 { 22 return (double)(time1 - time2); 23 } 24