Browse Source

Introduce kernel_timespec64_t type

This type ais going to be used to implement parsers of syscalls
that deal with 64-bit timespec.

* kernel_timespec.h (kernel_timespec64_t): New type.
Dmitry V. Levin 6 months ago
parent
commit
29fbe2f78f
1 changed files with 5 additions and 0 deletions
  1. 5
    0
      kernel_timespec.h

+ 5
- 0
kernel_timespec.h View File

@@ -8,6 +8,11 @@
8 8
 #ifndef STRACE_KERNEL_TIMESPEC_H
9 9
 # define STRACE_KERNEL_TIMESPEC_H
10 10
 
11
+typedef struct {
12
+	long long tv_sec;
13
+	long long tv_nsec;
14
+} kernel_timespec64_t;
15
+
11 16
 # if HAVE_ARCH_TIME32_SYSCALLS
12 17
 
13 18
 typedef struct {

Loading…
Cancel
Save