kernel reorg
[unix-history] / usr / src / sys / sys / times.h
/*-
* Copyright (c) 1990 The Regents of the University of California.
* All rights reserved.
*
* %sccs.include.redist.c%
*
* @(#)times.h 7.4 (Berkeley) %G%
*/
#include <machine/types.h>
#ifdef _CLOCK_T_
typedef _CLOCK_T_ clock_t;
#undef _CLOCK_T_
#endif
struct tms {
clock_t tms_utime; /* User CPU time */
clock_t tms_stime; /* System CPU time */
clock_t tms_cutime; /* User CPU time of terminated child procs */
clock_t tms_cstime; /* System CPU time of terminated child procs */
};
#ifndef KERNEL
#if __STDC__ || c_plusplus
clock_t times(struct tms *);
#else
clock_t times();
#endif
#endif