Open-Source-Software-Entwicklung und Downloads

Browse Subversion Repository

Diff of /trunk/TTXSamples/TTXttyrec/gettimeofday.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3226 by maya, Tue Mar 24 09:37:20 2009 UTC revision 3227 by maya, Tue Mar 24 15:10:33 2009 UTC
# Line 1  Line 1 
1  #pragma once  #pragma once
2    
3  #include <windows.h>  #include <windows.h>
4  #include <time.h>  #include <time.h>
5    
6  struct timezone {  struct timezone {
7      int tz_minuteswest;      int tz_minuteswest;
8      int tz_dsttime;      int tz_dsttime;
9  };  };
10    
11  #define FTEPOCHDIFF 116444736000000000i64  #define FTEPOCHDIFF 116444736000000000i64
12    
13  int gettimeofday(struct timeval *tv, struct timezone *tz);  int gettimeofday(struct timeval *tv, struct timezone *tz);
14  struct timeval tvdiff(struct timeval a, struct timeval b);  struct timeval tvdiff(struct timeval a, struct timeval b);
15  struct timeval tvshift(struct timeval tv, int shift);  struct timeval tvshift(struct timeval tv, int shift);
16  int tvcmp(struct timeval a, struct timeval b);  int tvcmp(struct timeval a, struct timeval b);

Legend:
Removed from v.3226  
changed lines
  Added in v.3227

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26