📄 panic.h
字号:
/* * * $Header: /usr/u/wjr/src/panic/RCS/panic.h,v 1.4 1993/11/04 21:31:35 wjr Exp $ * *//* * * panic.h - declaration of panic functions. * */#ifndef PANIC_H#define PANIC_H/* * These two are used for panics: internal consistency check failure */extern void _panic(char *why, char *rcsid, int line, char *file) __attribute__ ((noreturn));#define panic(x) _panic((x),rcsid,__LINE__,__FILE__)/* * assert is for internal checks. In the production version it can be * redefined to null, for speed. */#define assert(x) if (!(x)) panic("assert failure")/* An expression version of assert */#define eassert(x) (!(x) ? (panic("assert failure"), 0) : 0)#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -