source: bootcd/isolinux/syslinux-6.03/com32/include/sys/times.h @ e16e8f2

Last change on this file since e16e8f2 was e16e8f2, checked in by Edwin Eefting <edwin@datux.nl>, 3 years ago

bootstuff

  • Property mode set to 100644
File size: 337 bytes
Line 
1/*
2 * sys/times.h
3 */
4
5#ifndef _SYS_TIMES_H
6#define _SYS_TIMES_H
7
8#include <stdint.h>
9
10struct tms {
11    /* Empty */
12};
13
14#define HZ              1000
15#define CLK_TCK         HZ
16
17typedef uint32_t clock_t;
18
19extern volatile uint32_t __ms_timer;
20
21static inline clock_t times(struct tms *buf)
22{
23    (void)buf;
24    return __ms_timer;
25}
26
27#endif /* _SYS_TIMES_H */
Note: See TracBrowser for help on using the repository browser.