home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.barnyard.co.uk
/
2015.02.ftp.barnyard.co.uk.tar
/
ftp.barnyard.co.uk
/
cpm
/
walnut-creek-CDROM
/
SIMTEL
/
HITECH-C
/
Z80V309.EXE
/
lha
/
SIGNAL.H
< prev
next >
Wrap
Text File
|
1979-11-30
|
1KB
|
30 lines
/*
* Signal definitions for CP/M
*/
#ifdef unix
#define NSIG 17
#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 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
#define SIGINT 1 /* control-C */
#endif unix
#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);