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.

print_timespec32.c 777B

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. #include "defs.h"
  8. #if HAVE_ARCH_TIME32_SYSCALLS || HAVE_ARCH_TIMESPEC32
  9. # define TIMESPEC_T kernel_timespec32_t
  10. # define PRINT_TIMESPEC_DATA_SIZE print_timespec32_data_size
  11. # define PRINT_TIMESPEC_ARRAY_DATA_SIZE print_timespec32_array_data_size
  12. # if HAVE_ARCH_TIME32_SYSCALLS
  13. # define PRINT_TIMESPEC print_timespec32
  14. # define SPRINT_TIMESPEC sprint_timespec32
  15. # define PRINT_TIMESPEC_UTIME_PAIR print_timespec32_utime_pair
  16. # define PRINT_ITIMERSPEC print_itimerspec32
  17. # endif /* HAVE_ARCH_TIME32_SYSCALLS */
  18. # include "kernel_timespec.h"
  19. # include "print_timespec.h"
  20. #endif /* HAVE_ARCH_TIME32_SYSCALLS || HAVE_ARCH_TIMESPEC32 */