Elliott Hughes | 13da600 | 2025-02-03 10:42:13 -0800 | [diff] [blame^] | 1 | // Copyright (C) 2017 The Android Open Source Project |
| 2 | // SPDX-License-Identifier: BSD-2-Clause |
Elliott Hughes | 21b56eb | 2017-10-20 17:57:17 -0700 | [diff] [blame] | 3 | |
| 4 | #include <sys/times.h> |
| 5 | |
| 6 | #include "header_checks.h" |
| 7 | |
| 8 | static void sys_times_h() { |
| 9 | TYPE(struct tms); |
| 10 | STRUCT_MEMBER(struct tms, clock_t, tms_utime); |
| 11 | STRUCT_MEMBER(struct tms, clock_t, tms_stime); |
| 12 | STRUCT_MEMBER(struct tms, clock_t, tms_cutime); |
| 13 | STRUCT_MEMBER(struct tms, clock_t, tms_cstime); |
| 14 | |
| 15 | TYPE(clock_t); |
| 16 | |
| 17 | FUNCTION(times, clock_t (*f)(struct tms*)); |
| 18 | } |