2012-02-11 19:31:25 +01:00
|
|
|
#ifndef _SYS_TIMES_H_
|
|
|
|
#define _SYS_TIMES_H_
|
2005-04-21 16:53:53 +02:00
|
|
|
|
2012-02-11 19:31:25 +01:00
|
|
|
#include <machine/ansi.h>
|
2005-04-21 16:53:53 +02:00
|
|
|
|
2012-02-11 19:31:25 +01:00
|
|
|
#ifdef _BSD_CLOCK_T_
|
|
|
|
typedef _BSD_CLOCK_T_ clock_t;
|
|
|
|
#undef _BSD_CLOCK_T_
|
2005-04-21 16:53:53 +02:00
|
|
|
#endif
|
|
|
|
|
|
|
|
struct tms {
|
2012-02-11 19:31:25 +01:00
|
|
|
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 */
|
2005-04-21 16:53:53 +02:00
|
|
|
};
|
|
|
|
|
2012-02-11 19:31:25 +01:00
|
|
|
#include <sys/cdefs.h>
|
2005-04-21 16:53:53 +02:00
|
|
|
|
2012-02-11 19:31:25 +01:00
|
|
|
__BEGIN_DECLS
|
|
|
|
clock_t times(struct tms *);
|
|
|
|
__END_DECLS
|
2005-04-21 16:53:53 +02:00
|
|
|
|
2012-02-11 19:31:25 +01:00
|
|
|
#endif /* !_SYS_TIMES_H_ */
|