xref: /plan9-contrib/sys/include/ape/sys/times.h (revision 3e12c5d1bb89fc02707907988834ef147769ddaf)
1 #ifndef __TIMES_H
2 #define __TIMES_H
3 #pragma lib "/$M/lib/ape/libap.a"
4 
5 #ifndef _CLOCK_T
6 #define _CLOCK_T
7 typedef long clock_t;
8 #endif
9 
10 struct tms {
11 	clock_t	tms_utime;
12 	clock_t	tms_stime;
13 	clock_t	tms_cutime;
14 	clock_t	tms_cstime;
15 };
16 
17 #ifdef __cplusplus
18 extern "C" {
19 #endif
20 
21 clock_t times(struct tms *);
22 
23 #ifdef __cplusplus
24 }
25 #endif
26 
27 #endif
28