xref: /original-bsd/sys/sys/times.h (revision c3e32dec)
1 /*-
2  * Copyright (c) 1990, 1993
3  *	The Regents of the University of California.  All rights reserved.
4  *
5  * %sccs.include.redist.c%
6  *
7  *	@(#)times.h	8.1 (Berkeley) 06/02/93
8  */
9 
10 #include <machine/ansi.h>
11 
12 #ifdef	_BSD_CLOCK_T_
13 typedef	_BSD_CLOCK_T_	clock_t;
14 #undef	_BSD_CLOCK_T_
15 #endif
16 
17 struct tms {
18 	clock_t tms_utime;	/* User CPU time */
19 	clock_t tms_stime;	/* System CPU time */
20 	clock_t tms_cutime;	/* User CPU time of terminated child procs */
21 	clock_t tms_cstime;	/* System CPU time of terminated child procs */
22 };
23 
24 #ifndef KERNEL
25 #include <sys/cdefs.h>
26 
27 __BEGIN_DECLS
28 clock_t	times __P((struct tms *));
29 __END_DECLS
30 #endif
31