home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CBM Funet Archive
/
cbm-funet-archive-2003.iso
/
cpm
/
programming
/
HiTech_C
/
z80v309.lzh
/
SIGNAL.H
< prev
next >
Wrap
Text File
|
1993-10-26
|
1KB
|
30 lines
/*
*sIGNAL DEFINITIONS FOR cp/m
*/
#IFDEFUNIX
#DEFINE nsig 17
#DEFINEsighup1/* HANGUP (NOT USED BY TERMINAL DRIVER) */
#DEFINEsigint2/* INTERRUPT (^c OR break) */
#DEFINEsigquit3/* QUIT (^\) */
#DEFINEsigill4/* ILLEGAL INSTRUCTION (NOT RESET WHEN CAUGHT) */
#DEFINEsigtrap5/* TRACE TRAP (NOT RESET WHEN CAUGHT) */
#DEFINEsigiot6/* iot INSTRUCTION */
#DEFINEsigemt7/* emt INSTRUCTION */
#DEFINEsigfpe8/* FLOATING POINT EXCEPTION */
#DEFINEsigkill9/* KILL (CANNOT BE CAUGHT OR IGNORED) */
#DEFINEsigbus10/* BUS ERROR */
#DEFINEsigsegv11/* SEGMENTATION VIOLATION */
#DEFINEsigsys12/* BAD ARGUMENT TO SYSTEM CALL */
#DEFINEsigpipe13/* WRITE ON A PIPE WITH NO ONE TO READ IT */
#DEFINEsigalrm14/* ALARM CLOCK */
#DEFINEsigterm15/* SOFTWARE TERMINATION SIGNAL FROM KILL */
#ELSEUNIX
#DEFINEsigint1/* CONTROL-c */
#ENDIFUNIX
#DEFINEsig_dfl((VOID (*)(INT))0)/* DEFAULT ACTION IS TO EXIT */
#DEFINEsig_ign((VOID (*)(INT))1)/* IGNORE THEM */
EXTERN VOID (*SIGNAL(INT, VOID (*)(INT)))(INT);