BSD 4_3_Reno release
[unix-history] / usr / src / sys / sys / times.h
index d57beac..546e7d1 100644 (file)
@@ -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 <machine/types.h>
-
-#ifdef _CLOCK_T_
-typedef        _CLOCK_T_       clock_t;
-#undef _CLOCK_T_
-#endif
-
+/*
+ * Structure returned by times()
+ */
 struct tms {
 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