]> granicus.if.org Git - strace/commitdiff
Introduce kernel_timespec64_t type
authorDmitry V. Levin <ldv@altlinux.org>
Sun, 5 May 2019 22:28:34 +0000 (22:28 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Sun, 5 May 2019 22:28:34 +0000 (22:28 +0000)
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.

kernel_timespec.h

index b86c8d6ca3cffe325c07ba9dfa5d5b8af6758943..99fb2c6c8a2489f9824c7a8bf2b6b755e2d6f250 100644 (file)
@@ -8,6 +8,11 @@
 #ifndef STRACE_KERNEL_TIMESPEC_H
 # define STRACE_KERNEL_TIMESPEC_H
 
+typedef struct {
+       long long tv_sec;
+       long long tv_nsec;
+} kernel_timespec64_t;
+
 # if HAVE_ARCH_TIME32_SYSCALLS
 
 typedef struct {