Added difftime function.
This commit is contained in:
parent
3085591767
commit
b0c4965427
|
@ -359,7 +359,7 @@ init CRTDLL_Init
|
||||||
@ cdecl cos(double) cos
|
@ cdecl cos(double) cos
|
||||||
@ cdecl cosh(double) cosh
|
@ cdecl cosh(double) cosh
|
||||||
@ cdecl ctime(ptr) ctime
|
@ cdecl ctime(ptr) ctime
|
||||||
@ stub difftime
|
@ cdecl difftime(long long) CRTDLL_difftime
|
||||||
@ cdecl div(long long) div
|
@ cdecl div(long long) div
|
||||||
@ cdecl exit(long) CRTDLL_exit
|
@ cdecl exit(long) CRTDLL_exit
|
||||||
@ cdecl exp(double) exp
|
@ cdecl exp(double) exp
|
||||||
|
|
|
@ -614,6 +614,17 @@ time_t __cdecl CRTDLL_time(time_t *timeptr)
|
||||||
return curtime;
|
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)
|
* clock (CRTDLL.350)
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue