X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/blobdiff_plain/fdb8e4aac282b72d4670aa3a26d9bba07afc7e6f..1c15e88899094343f75aeba04122cd96a96b428e:/usr/src/sys/sys/times.h diff --git a/usr/src/sys/sys/times.h b/usr/src/sys/sys/times.h index d57beac88a..546e7d18c6 100644 --- a/usr/src/sys/sys/times.h +++ b/usr/src/sys/sys/times.h @@ -1,30 +1,17 @@ -/*- - * Copyright (c) 1990 The Regents of the University of California. - * All rights reserved. +/* + * Copyright (c) 1982, 1986 Regents of the University of California. + * All rights reserved. The Berkeley software License Agreement + * specifies the terms and conditions for redistribution. * - * %sccs.include.redist.c% - * - * @(#)times.h 7.4 (Berkeley) %G% + * @(#)times.h 7.1 (Berkeley) 6/4/86 */ -#include - -#ifdef _CLOCK_T_ -typedef _CLOCK_T_ clock_t; -#undef _CLOCK_T_ -#endif - +/* + * Structure returned by times() + */ 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 */ + time_t tms_utime; /* user time */ + time_t tms_stime; /* system time */ + time_t tms_cutime; /* user time, children */ + time_t tms_cstime; /* system time, children */ }; - -#ifndef KERNEL -#if __STDC__ || c_plusplus -clock_t times(struct tms *); -#else -clock_t times(); -#endif -#endif