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

📄 misc.h

📁 经典的psos编程实例源码
💻 H
字号:
/* misc.h */#ifndef	_MISC_H#define	_MISC_H/* Real-world time values: SECOND and TENTH */#include <configs.h>#include <psoscfg.h>extern	NODE_CT	* anchor;#define	SECOND	(anchor->psosct->kc_ticks2sec)#define	TENTH	((anchor->psosct->kc_ticks2sec)/10)/* Customized task exit (see misc.c for details) */#ifdef exit#undef exit#endifintexit(int status);/* When something unexpected happens... (see misc.c) */voidfail(ULONG rc, const char * str, ...);/* TRUE and FALSE if not defined elsewhere */#ifndef	TRUE#define	TRUE	(1==1)#endif#ifndef	FALSE#define	FALSE	(1==0)#endif/* Buffered Print Module */intbpinit(int bufsize);intbprintf(const char * fmt, ...);intbpflush();#endif	/* _MISC_H */

⌨️ 快捷键说明

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