blob: 21fb7e99d2d015b9ce82acf5b7f83112539594af (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#ifndef _SYS_TIME_H
#define _SYS_TIME_H
#include <time.h>
typedef unsigned long suseconds_t;
struct timeval {
time_t tv_sec; /* seconds */
suseconds_t tv_usec; /* microseconds */
};
struct timezone {
int tz_minuteswest; /* minutes W of Greenwich */
int tz_dsttime; /* type of dst correction */
};
extern int gettimeofday ( struct timeval *tv, struct timezone *tz );
#endif /* _SYS_TIME_H */
|