Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-11-07 10:15:21

0001 /*
0002  * timeval.h    1.0 01/12/19
0003  *
0004  * Defines gettimeofday, timeval, etc. for Win32
0005  *
0006  * By Wu Yongwei
0007  *
0008  */
0009 #ifndef _TIMEVAL_H
0010 #define _TIMEVAL_H
0011 
0012 #include "flint.h"
0013 #include <winsock2.h>
0014 
0015 #define EPOCHFILETIME (116444736000000000LL)
0016 
0017 #if defined(__cplusplus)
0018 extern "C"
0019 {
0020 #endif
0021 
0022 struct timezone
0023 {
0024     int tz_minuteswest; /* minutes W of Greenwich */
0025     int tz_dsttime;     /* type of dst correction */
0026 };
0027 
0028 int gettimeofday(struct timeval *tv, struct timezone *tz);
0029 
0030 #if defined(__cplusplus)
0031 }
0032 #endif
0033 
0034 #endif /* _TIMEVAL_H */