Sha256: 9f84d465fdb9bb15967e21634c4737b368ca6cd6195fd00e6e38b5f7e00abda2
Contents?: true
Size: 457 Bytes
Versions: 25
Compression:
Stored size: 457 Bytes
Contents
/*************************************************************** timeb.c ***************************************************************/ #include <windows.h> #include <time.h> #include <sys/timeb.h> int ftime(struct timeb *tp) { SYSTEMTIME s; FILETIME f; GetLocalTime(&s); SystemTimeToFileTime( &s, &f ); tp->dstflag = 0; tp->timezone = _timezone/60; tp->time = wce_FILETIME2time_t(&f); tp->millitm = s.wMilliseconds; return 0; }
Version data entries
25 entries across 25 versions & 1 rubygems