Mirror of strace – the linux syscall tracer
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

kernel_timespec.h 466B

12345678910111213141516171819202122232425
  1. /*
  2. * Copyright (c) 2019 Dmitry V. Levin <ldv@altlinux.org>
  3. * All rights reserved.
  4. *
  5. * SPDX-License-Identifier: LGPL-2.1-or-later
  6. */
  7. #ifndef STRACE_KERNEL_TIMESPEC_H
  8. # define STRACE_KERNEL_TIMESPEC_H
  9. typedef struct {
  10. long long tv_sec;
  11. long long tv_nsec;
  12. } kernel_timespec64_t;
  13. # if HAVE_ARCH_TIME32_SYSCALLS
  14. typedef struct {
  15. int tv_sec;
  16. int tv_nsec;
  17. } kernel_timespec32_t;
  18. # endif /* HAVE_ARCH_TIME32_SYSCALLS */
  19. #endif /* !STRACE_KERNEL_TIMESPEC_H */