Browse Subversion Repository
Contents of /trunk/TTXSamples/TTXttyrec/gettimeofday.h
Parent Directory
| Revision Log
Revision 3227 -
( show annotations)
( download)
( as text)
Tue Mar 24 15:10:33 2009 UTC
(15 years, 2 months ago)
by maya
File MIME type: text/x-chdr
File size: 398 byte(s)
CVS から SVN へ移行: 改行コードを LF から CR+LF へ変換
1 |
#pragma once |
2 |
|
3 |
#include <windows.h> |
4 |
#include <time.h> |
5 |
|
6 |
struct timezone { |
7 |
int tz_minuteswest; |
8 |
int tz_dsttime; |
9 |
}; |
10 |
|
11 |
#define FTEPOCHDIFF 116444736000000000i64 |
12 |
|
13 |
int gettimeofday(struct timeval *tv, struct timezone *tz); |
14 |
struct timeval tvdiff(struct timeval a, struct timeval b); |
15 |
struct timeval tvshift(struct timeval tv, int shift); |
16 |
int tvcmp(struct timeval a, struct timeval b); |
|