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 654B

1234567891011121314151617181920212223
  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
  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. # define PRINT_TIMESPEC print_timespec32
  13. # define SPRINT_TIMESPEC sprint_timespec32
  14. # define PRINT_TIMESPEC_UTIME_PAIR print_timespec32_utime_pair
  15. # define PRINT_ITIMERSPEC print_itimerspec32
  16. # include "kernel_timespec.h"
  17. # include "print_timespec.h"
  18. #endif /* HAVE_ARCH_TIME32_SYSCALLS */