blob: a1f1a2ab0c5eb77005bf3b48a59260419e58e7f3 [file] [log] [blame]
Elliott Hughes13da6002025-02-03 10:42:13 -08001// Copyright (C) 2017 The Android Open Source Project
2// SPDX-License-Identifier: BSD-2-Clause
Elliott Hughes21b56eb2017-10-20 17:57:17 -07003
4#include <sys/times.h>
5
6#include "header_checks.h"
7
8static 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}