minix/nbsd_include/sys/times.h
2011-02-21 13:13:55 +00:00

24 lines
496 B
C

#ifndef _SYS_TIMES_H_
#define _SYS_TIMES_H_
#include <machine/ansi.h>
#ifdef _BSD_CLOCK_T_
typedef _BSD_CLOCK_T_ clock_t;
#undef _BSD_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 */
};
#include <sys/cdefs.h>
__BEGIN_DECLS
clock_t times(struct tms *);
__END_DECLS
#endif /* !_SYS_TIMES_H_ */