©
This document uses PHP Chinese website manual Release
下面列出的信号列表用于支持进程控制函数。关于这些信号默认行为的更详细信息请查看您系统的 signal(7)手册
WNOHANG
( integer )
WUNTRACED
( integer )
SIG_IGN
( integer )
SIG_DFL
( integer )
SIG_ERR
( integer )
SIGHUP
( integer )
SIGINT
( integer )
SIGQUIT
( integer )
SIGILL
( integer )
SIGTRAP
( integer )
SIGABRT
( integer )
SIGIOT
( integer )
SIGBUS
( integer )
SIGFPE
( integer )
SIGKILL
( integer )
SIGUSR1
( integer )
SIGSEGV
( integer )
SIGUSR2
( integer )
SIGPIPE
( integer )
SIGALRM
( integer )
SIGTERM
( integer )
SIGSTKFLT
( integer )
SIGCLD
( integer )
SIGCHLD
( integer )
SIGCONT
( integer )
SIGSTOP
( integer )
SIGTSTP
( integer )
SIGTTIN
( integer )
SIGTTOU
( integer )
SIGURG
( integer )
SIGXCPU
( integer )
SIGXFSZ
( integer )
SIGVTALRM
( integer )
SIGPROF
( integer )
SIGWINCH
( integer )
SIGPOLL
( integer )
SIGIO
( integer )
SIGPWR
( integer )
SIGSYS
( integer )
SIGBABY
( integer )
SIG_BLOCK
( integer )
SIG_UNBLOCK
( integer )
SIG_SETMASK
( integer )
SI_USER
( integer )
SI_NOINFO
( integer )
SI_KERNEL
( integer )
SI_QUEUE
( integer )
SI_TIMER
( integer )
SI_MSGGQ
( integer )
SI_ASYNCIO
( integer )
SI_SIGIO
( integer )
SI_TKILL
( integer )
CLD_EXITED
( integer )
CLD_KILLED
( integer )
CLD_DUMPED
( integer )
CLD_TRAPPED
( integer )
CLD_STOPPED
( integer )
CLD_CONTINUED
( integer )
TRAP_BRKPT
( integer )
TRAP_TRACE
( integer )
POLL_IN
( integer )
POLL_OUT
( integer )
POLL_MSG
( integer )
POLL_ERR
( integer )
POLL_PRI
( integer )
POLL_HUP
( integer )
ILL_ILLOPC
( integer )
ILL_ILLOPN
( integer )
ILL_ILLADR
( integer )
ILL_ILLTRP
( integer )
ILL_PRVOPC
( integer )
ILL_PRVREG
( integer )
ILL_COPROC
( integer )
ILL_BADSTK
( integer )
FPE_INTDIV
( integer )
FPE_INTOVF
( integer )
FPE_FLTDIV
( integer )
FPE_FLTOVF
( integer )
FPE_FLTUND
( integer )
FPE_FLTRES
( integer )
FPE_FLTINV
( integer )
FPE_FLTSUB
( integer )
SEGV_MAPERR
( integer )
SEGV_ACCERR
( integer )
BUS_ADRALN
( integer )
BUS_ADRERR
( integer )
BUS_OBJERR
( integer )
[#1] coder dot ua at gmail dot com [2014-08-23 13:05:23]
You should see all signals and their codes in your system using: kill -l
In my Debian GNU/Linux 7.6 (wheezy):
1) SIGHUP 2) SIGINT 3) SIGQUIT 4) SIGILL 5) SIGTRAP
6) SIGABRT 7) SIGBUS 8) SIGFPE 9) SIGKILL 10) SIGUSR1
11) SIGSEGV 12) SIGUSR2 13) SIGPIPE 14) SIGALRM 15) SIGTERM
16) SIGSTKFLT 17) SIGCHLD 18) SIGCONT 19) SIGSTOP 20) SIGTSTP
21) SIGTTIN 22) SIGTTOU 23) SIGURG 24) SIGXCPU 25) SIGXFSZ
26) SIGVTALRM 27) SIGPROF 28) SIGWINCH 29) SIGIO 30) SIGPWR
31) SIGSYS 34) SIGRTMIN 35) SIGRTMIN+1 36) SIGRTMIN+2 37) SIGRTMIN+3
38) SIGRTMIN+4 39) SIGRTMIN+5 40) SIGRTMIN+6 41) SIGRTMIN+7 42) SIGRTMIN+8
43) SIGRTMIN+9 44) SIGRTMIN+10 45) SIGRTMIN+11 46) SIGRTMIN+12 47) SIGRTMIN+13
48) SIGRTMIN+14 49) SIGRTMIN+15 50) SIGRTMAX-14 51) SIGRTMAX-13 52) SIGRTMAX-12
53) SIGRTMAX-11 54) SIGRTMAX-10 55) SIGRTMAX-9 56) SIGRTMAX-8 57) SIGRTMAX-7
58) SIGRTMAX-6 59) SIGRTMAX-5 60) SIGRTMAX-4 61) SIGRTMAX-3 62) SIGRTMAX-2
63) SIGRTMAX-1 64) SIGRTMAX
[#2] eclecticrob at gmail dot com [2012-04-15 22:26:20]
On RedHat, the values of the constants are:
Signal SIGHUP = 1
Signal SIGINT = 2
Signal SIGQUIT = 3
Signal SIGILL = 4
Signal SIGTRAP = 5
Signal SIGABRT = 6
Signal SIGIOT = 6
Signal SIGBUS = 7
Signal SIGFPE = 8
Signal SIGUSR1 = 10
Signal SIGSEGV = 11
Signal SIGUSR2 = 12
Signal SIGPIPE = 13
Signal SIGALRM = 14
Signal SIGTERM = 15
Signal SIGSTKFLT = 16
Signal SIGCLD = 17
Signal SIGCHLD = 17
Signal SIGCONT = 18
Signal SIGTSTP = 20
Signal SIGTTIN = 21
Signal SIGTTOU = 22
Signal SIGURG = 23
Signal SIGXCPU = 24
Signal SIGXFSZ = 25
Signal SIGVTALRM = 26
Signal SIGPROF = 27
Signal SIGWINCH = 28
Signal SIGPOLL = 29
Signal SIGIO = 29
Signal SIGPWR = 30
Signal SIGSYS = 31
Signal SIGBABY = 31
Signal SIG_BLOCK = 0
Signal SIG_UNBLOCK = 1
Signal SIG_SETMASK = 2
[#3] eclecticrob at gmail dot com [2012-01-04 15:43:31]
On OS X, the values of the constants are:
SIGHUP = 1
SIGINT = 2
SIGQUIT = 3
SIGILL = 4
SIGTRAP = 5
SIGABRT = 6
SIGIOT = 6
SIGBUS = 10
SIGFPE = 8
SIGUSR1 = 30
SIGSEGV = 11
SIGUSR2 = 31
SIGPIPE = 13
SIGALRM = 14
SIGTERM = 15
SIGSTKFLT not defined
SIGCLD not defined
SIGCHLD = 20
SIGCONT = 19
SIGTSTP = 18
SIGTTIN = 21
SIGTTOU = 22
SIGURG = 16
SIGXCPU = 24
SIGXFSZ = 25
SIGVTALRM = 26
SIGPROF = 27
SIGWINCH = 28
SIGPOLL not defined
SIGIO = 23
SIGPWR not defined
SIGSYS = 12
SIGBABY = 12
SIG_BLOCK = 1
SIG_UNBLOCK = 2
SIG_SETMASK = 3