minix/include/sys/times.h

25 lines
496 B
C
Raw Normal View History

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