Mercurial > hg > fxanalyse
comparison future.h @ 81:be814b934eca
Implement gettimeofday()
author | Daniele Nicolodi <daniele.nicolodi@obspm.fr> |
---|---|
date | Mon, 18 Mar 2013 12:36:34 +0100 |
parents | 9d57d1fcbcd5 |
children | 4102fe614df2 |
comparison
equal
deleted
inserted
replaced
80:46fe62febcd0 | 81:be814b934eca |
---|---|
1 double round(double x); | 1 double round(double x); |
2 | |
3 typedef long int suseconds_t; | |
4 | |
5 struct timeval { | |
6 time_t tv_sec; /* seconds since 1970-01-01 */ | |
7 suseconds_t tv_usec; /* microseconds */ | |
8 }; | |
9 | |
10 struct timezone { | |
11 int tz_minuteswest; | |
12 int tz_dsttime; | |
13 }; | |
14 | |
15 int gettimeofday(struct timeval *tp, struct timezone *tzp); | |
16 | |
17 struct tm * gmtime_r(time_t const *t, struct tm *tp); |