1 #ifndef _LINUX_TIME_H
2 #define _LINUX_TIME_H
3
4 struct timeval {
5 long tv_sec;
6 long tv_usec;
7 };
8
9 struct timezone {
10 int tz_minuteswest;
11 int tz_dsttime;
12 };
13
14 #define NFDBITS __NFDBITS
15
16 #define FD_SETSIZE __FD_SETSIZE
17 #define FD_SET(fd,fdsetp) __FD_SET(fd,fdsetp)
18 #define FD_CLR(fd,fdsetp) __FD_CLR(fd,fdsetp)
19 #define FD_ISSET(fd,fdsetp) __FD_ISSET(fd,fdsetp)
20 #define FD_ZERO(fdsetp) __FD_ZERO(fdsetp)
21
22
23
24
25
26 #define ITIMER_REAL 0
27 #define ITIMER_VIRTUAL 1
28 #define ITIMER_PROF 2
29
30 struct itimerval {
31 struct timeval it_interval;
32 struct timeval it_value;
33 };
34
35 #endif