2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS system libraries
4 * FILE: lib/msvcrt/time/ftime.c
5 * PURPOSE: Deprecated BSD library call
6 * PROGRAMER: Art Yerkes
12 #include <sys/timeb.h>
14 /* ftime (3) -- Obsolete BSD library function included in the SUS for copat.
15 * Also present in msvcrt.dll as _ftime
16 * See: http://www.opengroup.org/onlinepubs/007904957/functions/ftime.html */
21 void _ftime( struct _timeb
*tm
)
26 GetSystemTime( &syst
);
30 tm
->millitm
= syst
.wMilliseconds
;
31 // tm->_timezone = 0; /* According to the open group, timezone and dstflag */
32 tm
->dstflag
= 0; /* exist for compatibility, but are unspecified. */