4 #define CLOCKS_PER_SEC 1000000
6 #define NULL ((void*)0)
9 #if !defined(_CLOCK_T) && !defined(_CLOCK_T_) && !defined(_CLOCK_T_DEFINED)
12 #define _CLOCK_T_DEFINED
16 #if !defined(_TIME_T) && !defined(_TIME_T_) && !defined(_TIME_T_DEFINED)
19 #define _TIME_T_DEFINED
23 #if !defined(_SIZE_T) && !defined(_SIZE_T_) && !defined(_SIZE_T_DEFINED)
26 #define _SIZE_T_DEFINED
27 typedef unsigned long size_t;
41 extern clock_t clock(void);
42 extern double difftime(time_t, time_t);
43 extern time_t mktime(struct tm
*);
44 extern time_t time(time_t *);
45 extern char *asctime(const struct tm
*);
46 extern char *ctime(const time_t *);
47 extern struct tm
*gmtime(const time_t *);
48 extern struct tm
*localtime(const time_t *);
49 extern size_t strftime(char *, size_t, const char *, const struct tm
*);