aboutsummaryrefslogtreecommitdiff
path: root/lib/mlibc/options/posix/include/sys/times.h
blob: 2dd28890c9d4172262a18ab78b3a46645a6f0648 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#ifndef _SYS_TIMES_H
#define _SYS_TIMES_H

// TODO: Only define the clock_t type.
#include <time.h>

#ifdef __cplusplus
extern "C" {
#endif

struct tms {
	clock_t tms_utime;
	clock_t tms_stime;
	clock_t tms_cutime;
	clock_t tms_cstime;
};

#ifndef __MLIBC_ABI_ONLY

clock_t times(struct tms *);

#endif /* !__MLIBC_ABI_ONLY */

#ifdef __cplusplus
}
#endif

#endif // _SYS_TIMES_H