Go to the source code of this file.
Data Structures | |
| struct | sigset_t |
| struct | sigaction |
| struct | sigaltstack |
| struct | sigaction2 |
Defines | |
| #define | NSIG 64 |
| #define | SIGHUP 1 |
| #define | SIGINT 2 |
| #define | SIGQUIT 3 |
| #define | SIGILL 4 |
| #define | SIGTRAP 5 |
| #define | SIGABRT 6 |
| #define | SIGEMT 7 |
| #define | SIGFPE 8 |
| #define | SIGKILL 9 |
| #define | SIGBUS 10 |
| #define | SIGSEGV 11 |
| #define | SIGSYS 12 |
| #define | SIGPIPE 13 |
| #define | SIGALRM 14 |
| #define | SIGTERM 15 |
| #define | SIGURG 16 |
| #define | SIGSTOP 17 |
| #define | SIGTSTP 18 |
| #define | SIGCONT 19 |
| #define | SIGCHLD 20 |
| #define | SIGTTIN 21 |
| #define | SIGTTOU 22 |
| #define | SIGIO 23 |
| #define | SIGXCPU 24 |
| #define | SIGXFSZ 25 |
| #define | SIGVTALRM 26 |
| #define | SIGPROF 27 |
| #define | SIGWINCH 28 |
| #define | SIGINFO 29 |
| #define | SIGUSR1 30 |
| #define | SIGUSR2 31 |
| #define | SIGPWR 32 |
| #define | SIGNOTIFY 33 |
| #define | SIGSMP 34 |
| #define | SIGVM86 35 |
| #define | SIGMAX 35 |
| #define | SIG_DFL ((void (*) (int)) 0) |
| #define | SIG_IGN ((void (*) (int)) 1) |
| #define | SIG_ERR ((void (*) (int)) -1) |
| #define | SIG_BLOCK 1 |
| #define | SIG_UNBLOCK 2 |
| #define | SIG_SETMASK 3 |
| #define | __sigmask(n) (1 << (((unsigned int)(n) - 1) & 31)) |
| #define | __sigword(n) (((unsigned int)(n) - 1) >> 5) |
| #define | __sigisempty(s) |
| #define | __sigaddset(s, n) ((s)->__bits[__sigword(n)] |= __sigmask(n)) |
| #define | __sigdelset(s, n) ((s)->__bits[__sigword(n)] &= ~__sigmask(n)) |
| #define | __sigismember(s, n) (((s)->__bits[__sigword(n)] & __sigmask(n)) != 0) |
| #define | __sigemptyset(s) |
| #define | __sigfillset(s) |
| #define | SA_ONSTACK 0x0001 |
| #define | SA_RESTART 0x0002 |
| #define | SA_RESETHAND 0x0004 |
| #define | SA_NODEFER 0x0010 |
| #define | SA_NOCLDSTOP 0x0008 |
| #define | SA_NOCLDWAIT 0x0020 |
| #define | MINSIGSTKSZ 8192 |
| #define | SIGSTKSZ (MINSIGSTKSZ + 32768) |
| #define | SS_ONSTACK 0x0001 |
| #define | SS_DISABLE 0x0004 |
| #define | ILL_ILLOPC 1 |
| #define | ILL_ILLOPN 2 |
| #define | ILL_ILLADR 3 |
| #define | ILL_ILLTRP 4 |
| #define | ILL_PRVOPC 5 |
| #define | ILL_PRVREG 6 |
| #define | ILL_COPROC 7 |
| #define | ILL_BADSTK 8 |
| #define | NSIGILL 8 |
| #define | FPE_INTDIV 1 |
| #define | FPE_INTOVF 2 |
| #define | FPE_FLTDIV 3 |
| #define | FPE_FLTOVF 4 |
| #define | FPE_FLTUND 5 |
| #define | FPE_FLTRES 6 |
| #define | FPE_FLTINV 7 |
| #define | FPE_FLTSUB 8 |
| #define | NSIGFPE 8 |
| #define | SEGV_MAPERR 1 |
| #define | SEGV_ACCERR 2 |
| #define | SEGV_ACCERR2 3 |
| #define | SEGV_WIREERR 4 |
| #define | NSIGSEGV 2 |
| #define | BUS_ADRALN 1 |
| #define | BUS_ADRERR 2 |
| #define | BUS_OBJERR 3 |
| #define | NSIGBUS 3 |
| #define | TRAP_BRKPT 1 |
| #define | TRAP_TRACE 2 |
| #define | NSIGTRAP 2 |
Typedefs | |
| typedef void(* | sig_t )(int) |
| typedef sigaltstack | stack_t |
|
|
|
|
|
|
|
|
Value: ((s)->__bits[0] = 0x00000000, \
(s)->__bits[1] = 0x00000000, \
(s)->__bits[2] = 0x00000000, \
(s)->__bits[3] = 0x00000000)
|
|
|
Value: ((s)->__bits[0] = 0xffffffff, \
(s)->__bits[1] = 0xffffffff, \
(s)->__bits[2] = 0xffffffff, \
(s)->__bits[3] = 0xffffffff)
|
|
|
Value: ((s)->__bits[0] == 0u &&\
(s)->__bits[1] == 0u &&\
(s)->__bits[2] == 0u &&\
(s)->__bits[3] == 0u)
|
|
|
|
|
|
|
|
|
|
|
|
invalid address alignment |
|
|
non-existant physical address |
|
|
object specific hardware error |
|
|
floating point divide by zero |
|
|
floating point invalid operation |
|
|
floating point overflow |
|
|
floating point inexact result |
|
|
subscript out of range |
|
|
floating point underflow |
|
|
integer divide by zero |
|
|
integer overflow |
|
|
internal stack error |
|
|
coprocessor error |
|
|
illegal addressing mode |
|
|
illegal opcode |
|
|
illegal operand |
|
|
illegal trap |
|
|
privileged opcode |
|
|
privileged register |
|
|
minimum allowable stack |
|
|
just to say we use sigset_t |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
do not generate SIGCHLD on child stop |
|
|
do not generate zombies on unwaited child |
|
|
don't mask the signal we're delivering |
|
|
take signal on signal stack |
|
|
reset to SIG_DFL when taking signal |
|
|
restart system on signal return |
|
|
invalid permissions for mapped object |
|
|
invalid permissions for mapped object |
|
|
address not mapped to object |
|
|
wire failed |
|
|
block specified signal set |
|
|
|
|
|
|
|
|
|
|
|
set specified signal set |
|
|
unblock specified signal set |
|
|
|
alarm clock |
|
|
bus error |
|
|
to parent on child stop or exit |
|
|
continue a stopped process |
|
|
EMT instruction |
|
|
floating point exception |
|
|
hangup |
|
|
illegal instruction |
|
|
information request |
|
|
interrupt |
|
|
input/output possible signal |
|
|
kill (cannot be caught or ignored) |
|
|
Define this as number of the highest signal (lseos extension) |
|
|
notify/collect |
|
|
write on a pipe with no one to read it |
|
|
profiling time alarm |
|
|
pwer fail/restart (not reset when caught) |
|
|
quit |
|
|
segmentation violation |
|
|
notify applications that system operates in smp (lseos extension) |
|
|
recommended stack size |
|
|
sendable stop signal not from tty |
|
|
bad argument to system call |
|
|
software termination signal from kill |
|
|
trace trap (not reset when caught) |
|
|
stop signal from tty |
|
|
to readers pgrp upon background tty read |
|
|
like TTIN for output if (tp->t_local<OSTOP) |
|
|
urgent condition on IO channel |
|
|
user defined signal 1 |
|
|
user defined signal 2 |
|
|
|
|
|
virtual time alarm |
|
|
window size changes |
|
|
exceeded CPU time limit |
|
|
exceeded file size limit |
|
|
disable taking signals on alternate stack |
|
|
take signals on alternate stack |
|
|
process breakpoint |
|
|
process trace trap |
|
|
type of signal function |
|
|
|
1.4.6