1
2 #ifndef _UAPI_LINUX_TIME_TYPES_H
3 #define _UAPI_LINUX_TIME_TYPES_H
4
5 #include <linux/types.h>
6
7 struct __kernel_timespec {
8 __kernel_time64_t tv_sec;
9 long long tv_nsec;
10 };
11
12 struct __kernel_itimerspec {
13 struct __kernel_timespec it_interval;
14 struct __kernel_timespec it_value;
15 };
16
17
18
19
20
21
22
23
24 #ifndef __kernel_old_timeval
25 struct __kernel_old_timeval {
26 __kernel_long_t tv_sec;
27 __kernel_long_t tv_usec;
28 };
29 #endif
30
31 struct __kernel_sock_timeval {
32 __s64 tv_sec;
33 __s64 tv_usec;
34 };
35
36 #endif