repo.or.cz
/
thunix.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
kbd: use a better get_key method
[thunix.git]
/
include
/
time.h
blob
132154b388e10c93d69722c0ca8615d7aecb0ed3
1
#ifndef TIME_H
2
#define TIME_H
3
4
5
#ifndef _TIME_T
6
#define _TIME_T
7
typedef
long time_t
;
8
#endif
9
10
/*#ifndef _SIZE_T
11
#define _SIZE_T
12
typedef unsigned int size_t;
13
#endif*/
14
15
extern
long
startup_time
;
16
17
#define CLOCKS_PER_SEC 100
18
19
typedef
long clock_t
;
20
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
;
28
};
29
30
extern
long
kernel_mktime
(
struct
tm
*);
31
32
33
#endif
/* time.h */