Main Page | Class Hierarchy | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

time.h

Go to the documentation of this file.
00001 #ifndef __TIME
00002 #define __TIME
00003 
00004 #define CLOCKS_PER_SEC 1000000
00005 #ifndef NULL
00006 #define NULL 0
00007 #endif
00008 
00009 #if !defined(_CLOCK_T) && !defined(_CLOCK_T_)
00010 #define _CLOCK_T
00011 #define _CLOCK_T_
00012 typedef long clock_t;
00013 #endif
00014 
00015 #if !defined(_TIME_T) && !defined(_TIME_T_)
00016 #define _TIME_T
00017 #define _TIME_T_
00018 typedef long time_t;
00019 #endif
00020 
00021 #if !defined(_SIZE_T) && !defined(_SIZE_T_)
00022 #define _SIZE_T
00023 #define _SIZE_T_
00024 typedef unsigned long size_t;
00025 #endif
00026 
00027 struct tm {
00028     int tm_sec;
00029     int tm_min;
00030     int tm_hour;
00031     int tm_mday;
00032     int tm_mon;
00033     int tm_year;
00034     int tm_wday;
00035     int tm_yday;
00036     int tm_isdst;
00037 };
00038 extern clock_t clock(void);
00039 extern double difftime(time_t, time_t);
00040 extern time_t mktime(struct tm *);
00041 extern time_t time(time_t *);
00042 extern char *asctime(const struct tm *);
00043 extern char *ctime(const time_t *);
00044 extern struct tm *gmtime(const time_t *);
00045 extern struct tm *localtime(const time_t *);
00046 extern size_t strftime(char *, size_t, const char *, const struct tm *);
00047 
00048 #endif /* __TIME */

Generated on Thu Aug 25 12:38:11 2005 for Quake III Arena by  doxygen 1.3.9.1