📄 signal.h
字号:
/*
* Signal definitions for CP/M
*/
#if defined(unix) || defined(ATDOS)
#if m68k
#define NSIG 32
#else
#define NSIG 17
#endif
#define SIGHUP 1 /* hangup (not used by terminal driver) */
#define SIGINT 2 /* interrupt (^C or BREAK) */
#define SIGQUIT 3 /* quit (^\) */
#define SIGILL 4 /* illegal instruction (not reset when caught) */
#define SIGTRAP 5 /* trace trap (not reset when caught) */
#define SIGIOT 6 /* IOT instruction */
#define SIGEMT 7 /* EMT instruction */
#define SIGMSG 7 /* message received */
#define SIGFPE 8 /* floating point exception */
#define SIGKILL 9 /* kill (cannot be caught or ignored) */
#define SIGBUS 10 /* bus error */
#define SIGSEGV 11 /* segmentation violation */
#define SIGSYS 12 /* bad argument to system call */
#define SIGPIPE 13 /* write on a pipe with no one to read it */
#define SIGALRM 14 /* alarm clock */
#define SIGTERM 15 /* software termination signal from kill */
#else /* unix || ATDOS */
#define SIGINT 1 /* control-C */
#endif /* unix || ATDOS */
#define SIG_DFL ((void (*)(int))0) /* default action is to exit */
#define SIG_IGN ((void (*)(int))1) /* ignore them */
extern void (* signal(int, void (*)(int)))(int);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -