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

3 4
from StdMisc import abort

Mart Lubbers's avatar
Mart Lubbers committed
5 6 7 8 9 10 11 12 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
//All posix signals for x86, arm and most other architectures
SIGHUP    :== 1
SIGINT    :== 2
SIGQUIT   :== 3
SIGILL    :== 4
SIGTRAP   :== 5
SIGABRT   :== 6
SIGIOT    :== 6
SIGBUS    :== 7
SIGFPE    :== 8
SIGKILL   :== 9
SIGUSR1   :== 10
SIGSEGV   :== 11
SIGUSR2   :== 12
SIGPIPE   :== 13
SIGALRM   :== 14
SIGTERM   :== 15
SIGSTKFLT :== 16
SIGCHLD   :== 17
SIGCONT   :== 18
SIGSTOP   :== 19
SIGTSTP   :== 20
SIGTTIN   :== 21
SIGTTOU   :== 22
SIGURG    :== 23
SIGXCPU   :== 24
SIGXFSZ   :== 25
SIGVTALRM :== 26
SIGPROF   :== 27
SIGWINCH  :== 28
SIGIO     :== 29
SIGPOLL   :== 29
SIGPWR    :== 30
SIGSYS    :== 31
SIGUNUSED :== 31
40 41

SIGBREAK  :== abort "SIGBREAK is not supported on POSIX\n"