_Signal.dcl 1.85 KB
Newer Older
Mart Lubbers's avatar
Mart Lubbers committed
1 2
definition module System._Signal

3 4
from StdMisc import abort

Mart Lubbers's avatar
Mart Lubbers committed
5 6 7 8 9 10 11 12
//Windows signals according to signal.h
SIGINT   :== 2
SIGILL   :== 4
SIGFPE   :== 8
SIGSEGV  :== 11
SIGTERM  :== 15
SIGBREAK :== 21
SIGABRT  :== 22
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41

SIGHUP    :== abort "SIGHUP is not supported on Windows\n"
SIGQUIT   :== abort "SIGQUIT is not supported on Windows\n"
SIGTRAP   :== abort "SIGTRAP is not supported on Windows\n"
SIGIOT    :== abort "SIGIOT is not supported on Windows\n"
SIGBUS    :== abort "SIGBUS is not supported on Windows\n"
SIGKILL   :== abort "SIGKILL is not supported on Windows\n"
SIGUSR1   :== abort "SIGUSR1 is not supported on Windows\n"
SIGUSR2   :== abort "SIGUSR2 is not supported on Windows\n"
SIGPIPE   :== abort "SIGPIPE is not supported on Windows\n"
SIGALRM   :== abort "SIGALRM is not supported on Windows\n"
SIGSTKFLT :== abort "SIGSTKFLT is not supported on Windows\n"
SIGCHLD   :== abort "SIGCHLD is not supported on Windows\n"
SIGCONT   :== abort "SIGCONT is not supported on Windows\n"
SIGSTOP   :== abort "SIGSTOP is not supported on Windows\n"
SIGTSTP   :== abort "SIGTSTP is not supported on Windows\n"
SIGTTIN   :== abort "SIGTTIN is not supported on Windows\n"
SIGTTOU   :== abort "SIGTTOU is not supported on Windows\n"
SIGURG    :== abort "SIGURG is not supported on Windows\n"
SIGXCPU   :== abort "SIGXCPU is not supported on Windows\n"
SIGXFSZ   :== abort "SIGXFSZ is not supported on Windows\n"
SIGVTALRM :== abort "SIGVTALRM is not supported on Windows\n"
SIGPROF   :== abort "SIGPROF is not supported on Windows\n"
SIGWINCH  :== abort "SIGWINCH is not supported on Windows\n"
SIGIO     :== abort "SIGIO is not supported on Windows\n"
SIGPOLL   :== abort "SIGPOLL is not supported on Windows\n"
SIGPWR    :== abort "SIGPWR is not supported on Windows\n"
SIGSYS    :== abort "SIGSYS is not supported on Windows\n"
SIGUNUSED :== abort "SIGUNUSED is not supported on Windows\n"