minix/include/sys/times.h

26 lines
455 B
C
Raw Normal View History

2005-04-21 16:53:53 +02:00
/* The <times.h> header is for time times() system call. */
#ifndef _TIMES_H
#define _TIMES_H
#ifndef _CLOCK_T
#define _CLOCK_T
typedef long clock_t; /* unit for system accounting */
#endif
struct tms {
clock_t tms_utime;
clock_t tms_stime;
clock_t tms_cutime;
clock_t tms_cstime;
};
/* Function Prototypes. */
2011-01-28 12:35:02 +01:00
#ifndef _MINIX_ANSI_H
#include <minix/ansi.h>
2005-04-21 16:53:53 +02:00
#endif
_PROTOTYPE( clock_t times, (struct tms *_buffer) );
#endif /* _TIMES_H */