Adding upstream version 6.02~pre7+dfsg.
[syslinux-debian/hramrach.git] / com32 / include / sys / times.h
blob5eda295496d3d85a7a4d47ec8f3c355d75f67d49
1 /*
2 * sys/times.h
3 */
5 #ifndef _SYS_TIMES_H
6 #define _SYS_TIMES_H
8 #include <stdint.h>
10 struct tms {
11 /* Empty */
14 #define HZ 1000
15 #define CLK_TCK HZ
17 typedef uint32_t clock_t;
19 extern volatile uint32_t __ms_timer;
21 static inline clock_t times(struct tms *buf)
23 (void)buf;
24 return __ms_timer;
27 #endif /* _SYS_TIMES_H */