mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 05:25:48 +00:00
Create a branch for Aleksandar Andrejevic for his work on NTVDM. See http://jira.reactos.org/browse/CORE-7250 for more details.
svn path=/branches/ntvdm/; revision=59241
This commit is contained in:
parent
3e3200acef
commit
4f0b8d3db0
20620 changed files with 0 additions and 1232833 deletions
23
lib/sdk/crt/time/difftime.c
Normal file
23
lib/sdk/crt/time/difftime.c
Normal file
|
@ -0,0 +1,23 @@
|
|||
/*
|
||||
* COPYRIGHT: LGPL, See LGPL.txt in the top level directory
|
||||
* PROJECT: ReactOS CRT library
|
||||
* FILE: lib/sdk/crt/time/difftime.c
|
||||
* PURPOSE: Implementation of difftime
|
||||
* PROGRAMERS: Timo Kreuzer
|
||||
*/
|
||||
#include <time.h>
|
||||
#include "bitsfixup.h"
|
||||
|
||||
/**
|
||||
* \name difftime
|
||||
* \brief Retrurns the difference between two time_t values in seconds.
|
||||
* \param time1 Beginning time.
|
||||
* \param time2 Ending time.
|
||||
*/
|
||||
double
|
||||
difftime(
|
||||
time_t time1, /**< Beginning time */
|
||||
time_t time2) /**< Ending time */
|
||||
{
|
||||
return (double)(time1 - time2);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue