OrionLibC
Barry Importing existing Orion LibC 03048a9 (2 years, 2 months ago)diff --git a/include/sys/times.h b/include/sys/times.h new file mode 100644 index 0000000..70d57f0 --- /dev/null +++ b/include/sys/times.h @@ -0,0 +1,18 @@ +#ifndef _SYS_TIMES_H +#define _SYS_TIMES_H + +#include <time.h> + +typedef uint64_t clock_t; + +/* Structure for a times call */ +typedef struct tms { + clock_t utime; + clock_t stime; + clock_t cutime; + clock_t cstime; +} Times; + +clock_t times(Times *buf); + +#endif