Implement user space's printf stuff
[thunix.git] / include / time.h
blob132154b388e10c93d69722c0ca8615d7aecb0ed3
1 #ifndef TIME_H
2 #define TIME_H
5 #ifndef _TIME_T
6 #define _TIME_T
7 typedef long time_t;
8 #endif
10 /*#ifndef _SIZE_T
11 #define _SIZE_T
12 typedef unsigned int size_t;
13 #endif*/
15 extern long startup_time;
17 #define CLOCKS_PER_SEC 100
19 typedef long clock_t;
21 struct tm {
22 int tm_sec;
23 int tm_min;
24 int tm_hour;
25 int tm_mday;
26 int tm_mon;
27 int tm_year;
30 extern long kernel_mktime(struct tm*);
33 #endif /* time.h */