timefcns.h

来自「俄罗斯高人Mamaich的Pocket gcc编译器(运行在PocketPC上)」· C头文件 代码 · 共 25 行

H
25
字号
#ifndef _TIMEFCNS_H_#define _TIMEFCNS_H_extern int _daylight;extern long _dstbias;extern char *_tzname[];extern const char __dnames[];extern const char __mnames[];extern int _days[];extern int _lpdays[];#define _DAY_SEC           (24L * 60L * 60L)    /* secs in a day */#define _YEAR_SEC          (365L * _DAY_SEC)    /* secs in a year */#define _FOUR_YEAR_SEC     (1461L * _DAY_SEC)   /* secs in a 4 year interval */#define _DEC_SEC           315532800L           /* secs in 1970-1979 */#define _BASE_YEAR         70L                  /* 1970 is the base year */#define _BASE_DOW          4                    /* 01-01-70 was a Thursday */#define _LEAP_YEAR_ADJUST  17L                  /* Leap years 1900 - 1970 */#define _MAX_YEAR          138L                 /* 2038 is the max year */time_t_systotime_t(int yr, int mo, int dy, int hr, int mn, int sc, int dstflag);#endif  /* _TIMEFCNS_H_ */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?