Added difftime function.

This commit is contained in:
2000-06-14 21:14:35 +00:00 committed by Alexandre Julliard
parent 3085591767
commit b0c4965427
2 changed files with 12 additions and 1 deletions

View File

@ -359,7 +359,7 @@ init CRTDLL_Init
@ cdecl cos(double) cos
@ cdecl cosh(double) cosh
@ cdecl ctime(ptr) ctime
@ stub difftime
@ cdecl difftime(long long) CRTDLL_difftime
@ cdecl div(long long) div
@ cdecl exit(long) CRTDLL_exit
@ cdecl exp(double) exp

View File

@ -614,6 +614,17 @@ time_t __cdecl CRTDLL_time(time_t *timeptr)
return curtime;
}
/*********************************************************************
* difftime (CRTDLL.357)
*/
double __cdecl CRTDLL_difftime (time_t time1, time_t time2)
{
double timediff;
timediff = (double)(time1 - time2);
return timediff;
}
/*********************************************************************
* clock (CRTDLL.350)
*/