Move the sources to trunk
[opencv] / apps / cvenv / include / sys / time.h
1 #define CLOCKS_PER_SEC 1000000
2
3 #ifndef _EiC
4 #define unsafe 
5 #endif
6
7 struct tm {
8         int     tm_sec;
9         int     tm_min;
10         int     tm_hour;
11         int     tm_mday;
12         int     tm_mon;
13         int     tm_year;
14         int     tm_wday;
15         int     tm_yday;
16         int     tm_isdst;        
17
18         long    tm_gmtoff;
19         char    * unsafe tm_zone;
20
21 };
22
23 char *asctime(struct tm * tm);
24 clock_t clock(void);
25 char *ctime(time_t * clock);
26 double difftime(time_t t1, time_t t2);
27 struct tm *gmtime(time_t *clock);
28 struct tm *localtime(time_t *clock);
29 time_t mktime(struct tm * tm);
30 size_t strftime(char * buf, size_t bufsize,char * fmt,struct tm *tm);
31 time_t time(time_t * tloc);
32
33 #ifndef _EiC
34 #undef unsafe 
35 #endif
36
37