5d728cea9722d3d59690bc112ec1b4ebb18fa9e4
[tpg/acess2.git] / Usermode / Libraries / libc.so_src / include_exp / time.h
1 /*
2  * Acess2 C Library
3  * - By John Hodge (thePowersGang)
4  *
5  * time.h
6  * - POSIX time functions
7  */
8 #ifndef _TIME_H_
9 #define _TIME_H_
10
11 //#include <acess/intdefs.h>
12 #include <sys/types.h>  // time_t
13
14 struct tm
15 {
16          int    tm_sec;
17          int    tm_min;
18          int    tm_hour;
19          int    tm_mday;
20          int    tm_mon;
21          int    tm_year;        // 1900 based
22          int    tm_wday;
23          int    tm_yday;
24          int    tm_isdst;
25 };
26
27 #define CLOCKS_PER_SEC  1000
28
29 typedef signed long long        clock_t;
30
31 extern clock_t  clock();
32
33 #endif
34

UCC git Repository :: git.ucc.asn.au