⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 time.h

📁 s1mp3 sdk, action mp3 develop tool kit!
💻 H
字号:
/* *      Small C+ Library * *      time.h - Time related functions * *      djm 9/1/2000 * *	$Id: time.h,v 1.8 2003/06/20 15:26:04 dom Exp $ */#ifndef __TIME_H__#define __TIME_H__#include <sys/types.h>#ifdef __SPECTRUM__#define CLOCKS_PER_SEC 50#endif#ifdef __SAM__#define CLOCKS_PER_SEC 50#endif#ifdef __ZX81__#define CLOCKS_PER_SEC 50#endif#ifdef __Z88__#define CLOCKS_PER_SEC 100#endifextern time_t __LIB__ time(time_t *);struct tm {	int tm_sec;	int tm_min;	int tm_hour;	int tm_mday;	int tm_mon;	int tm_year;	int tm_wday;	int tm_yday;	int tm_isdst;};/* * These routines fill in the structure above using the value * supplied in t (usu obtained from time() * * These two really do the same since the z88 has no concept  * of timezones */extern struct tm __LIB__ *gmtime(time_t *t);extern struct tm __LIB__ *localtime(time_t *t);extern time_t __LIB__ mktime(struct tm *tp);/* This is a really simple fn which will barf over midnight,.. */#ifndef FAKECLOCKextern clock_t __LIB__ clock(void);#endif#endif /* _TIME_H */

⌨️ 快捷键说明

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