xref: /haiku/headers/posix/sys/times.h (revision 2f470aec1c92ce6917b8a903e343795dc77af41f)
1 #ifndef _SYS_TIMES_H
2 #define _SYS_TIMES_H
3 /*
4 ** Distributed under the terms of the OpenBeOS License.
5 */
6 
7 
8 #include <time.h>
9 
10 
11 struct tms {
12 	clock_t tms_utime;		/* user CPU time */
13 	clock_t tms_stime;		/* system CPU time */
14 	clock_t tms_cutime;		/* user CPU time of terminated child processes */
15 	clock_t tms_cstime;		/* system CPU time of terminated child processes */
16 };
17 
18 
19 extern
20 #ifdef __cplusplus
21 "C"
22 #endif
23 clock_t times(struct tms *tms);
24 
25 #endif	/* _SYS_TIMES_H */
26