From 5e8a571801572bc07fc21a461834c0dcc97ae19c Mon Sep 17 00:00:00 2001 From: keie Date: Tue, 1 Jan 1985 19:56:08 +0000 Subject: [PATCH] *** empty log message *** --- include/_tail_mon/signal.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 include/_tail_mon/signal.h diff --git a/include/_tail_mon/signal.h b/include/_tail_mon/signal.h new file mode 100644 index 000000000..86b47d557 --- /dev/null +++ b/include/_tail_mon/signal.h @@ -0,0 +1,21 @@ +#define NSIG 17 + +#define SIGHUP 1 /* hangup */ +#define SIGINT 2 /* interrupt */ +#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 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 */ + +int (*signal())(); +#define SIG_DFL (int (*)())0 +#define SIG_IGN (int (*)())1 -- 2.34.1