Add signal numbers to signal(3).

Approved by:    simon(mentor)
Reviewed by:    ru
Submitted by:   Stefan Farfeleder <stefan@fafoe.narf.at>
PR:             docs/60044
This commit is contained in:
Josef El-Rayes 2004-02-23 13:20:03 +00:00
parent a78bd4726b
commit 474f8512ae
1 changed files with 36 additions and 33 deletions

View File

@ -90,47 +90,50 @@ function allows for a signal to be caught, to be ignored, or to generate
an interrupt.
These signals are defined in the file
.In signal.h :
.Bl -column SIGVTALARMXX "create core imagexxx"
.It Sy "Name Default Action Description"
.It Dv SIGHUP Ta "terminate process" Ta "terminal line hangup"
.It Dv SIGINT Ta "terminate process" Ta "interrupt program"
.It Dv SIGQUIT Ta "create core image" Ta "quit program"
.It Dv SIGILL Ta "create core image" Ta "illegal instruction"
.It Dv SIGTRAP Ta "create core image" Ta "trace trap"
.It Dv SIGABRT Ta "create core image" Ta "abort program"
.Bl -column No SIGVTALRM "create core image"
.It Sy "No Name Default Action Description"
.It 1 Ta Dv SIGHUP Ta "terminate process" Ta "terminal line hangup"
.It 2 Ta Dv SIGINT Ta "terminate process" Ta "interrupt program"
.It 3 Ta Dv SIGQUIT Ta "create core image" Ta "quit program"
.It 4 Ta Dv SIGILL Ta "create core image" Ta "illegal instruction"
.It 5 Ta Dv SIGTRAP Ta "create core image" Ta "trace trap"
.It 6 Ta Dv SIGABRT Ta "create core image" Ta "abort program"
(formerly
.Dv SIGIOT )
.It Dv SIGEMT Ta "create core image" Ta "emulate instruction executed"
.It Dv SIGFPE Ta "create core image" Ta "floating-point exception"
.It Dv SIGKILL Ta "terminate process" Ta "kill program"
.It Dv SIGBUS Ta "create core image" Ta "bus error"
.It Dv SIGSEGV Ta "create core image" Ta "segmentation violation"
.It Dv SIGSYS Ta "create core image" Ta "non-existent system call invoked"
.It Dv SIGPIPE Ta "terminate process" Ta "write on a pipe with no reader"
.It Dv SIGALRM Ta "terminate process" Ta "real-time timer expired"
.It Dv SIGTERM Ta "terminate process" Ta "software termination signal"
.It Dv SIGURG Ta "discard signal" Ta "urgent condition present on socket"
.It Dv SIGSTOP Ta "stop process" Ta "stop (cannot be caught or ignored)"
.It Dv SIGTSTP Ta "stop process" Ta "stop signal generated from keyboard"
.It Dv SIGCONT Ta "discard signal" Ta "continue after stop"
.It Dv SIGCHLD Ta "discard signal" Ta "child status has changed"
.It Dv SIGTTIN Ta "stop process" Ta "background read attempted from control terminal"
.It Dv SIGTTOU Ta "stop process" Ta "background write attempted to control terminal"
.It Dv SIGIO Ta "discard signal" Ta Tn "I/O"
.It 7 Ta Dv SIGEMT Ta "create core image" Ta "emulate instruction executed"
.It 8 Ta Dv SIGFPE Ta "create core image" Ta "floating-point exception"
.It 9 Ta Dv SIGKILL Ta "terminate process" Ta "kill program"
.It 10 Ta Dv SIGBUS Ta "create core image" Ta "bus error"
.It 11 Ta Dv SIGSEGV Ta "create core image" Ta "segmentation violation"
.It 12 Ta Dv SIGSYS Ta "create core image" Ta "non-existent system call invoked"
.It 13 Ta Dv SIGPIPE Ta "terminate process" Ta "write on a pipe with no reader"
.It 14 Ta Dv SIGALRM Ta "terminate process" Ta "real-time timer expired"
.It 15 Ta Dv SIGTERM Ta "terminate process" Ta "software termination signal"
.It 16 Ta Dv SIGURG Ta "discard signal" Ta "urgent condition present on socket"
.It 17 Ta Dv SIGSTOP Ta "stop process" Ta "stop (cannot be caught or ignored)"
.It 18 Ta Dv SIGTSTP Ta "stop process" Ta "stop signal generated from keyboard"
.It 19 Ta Dv SIGCONT Ta "discard signal" Ta "continue after stop"
.It 20 Ta Dv SIGCHLD Ta "discard signal" Ta "child status has changed"
.It 21 Ta Dv SIGTTIN Ta "stop process" Ta "background read attempted from"
control terminal
.It 22 Ta Dv SIGTTOU Ta "stop process" Ta "background write attempted to"
control terminal
.It 23 Ta Dv SIGIO Ta "discard signal" Ta Tn "I/O"
is possible on a descriptor (see
.Xr fcntl 2 )
.It Dv SIGXCPU Ta "terminate process" Ta "cpu time limit exceeded (see"
.It 24 Ta Dv SIGXCPU Ta "terminate process" Ta "cpu time limit exceeded (see"
.Xr setrlimit 2 )
.It Dv SIGXFSZ Ta "terminate process" Ta "file size limit exceeded (see"
.It 25 Ta Dv SIGXFSZ Ta "terminate process" Ta "file size limit exceeded (see"
.Xr setrlimit 2 )
.It Dv SIGVTALRM Ta "terminate process" Ta "virtual time alarm (see"
.It 26 Ta Dv SIGVTALRM Ta "terminate process" Ta "virtual time alarm (see"
.Xr setitimer 2 )
.It Dv SIGPROF Ta "terminate process" Ta "profiling timer alarm (see"
.It 27 Ta Dv SIGPROF Ta "terminate process" Ta "profiling timer alarm (see"
.Xr setitimer 2 )
.It Dv SIGWINCH Ta "discard signal" Ta "Window size change"
.It Dv SIGINFO Ta "discard signal" Ta "status request from keyboard"
.It Dv SIGUSR1 Ta "terminate process" Ta "User defined signal 1"
.It Dv SIGUSR2 Ta "terminate process" Ta "User defined signal 2"
.It 28 Ta Dv SIGWINCH Ta "discard signal" Ta "Window size change"
.It 29 Ta Dv SIGINFO Ta "discard signal" Ta "status request from keyboard"
.It 30 Ta Dv SIGUSR1 Ta "terminate process" Ta "User defined signal 1"
.It 31 Ta Dv SIGUSR2 Ta "terminate process" Ta "User defined signal 2"
.It 32 Ta Dv SIGTHR Ta "terminate process" Ta "thread interrupt"
.El
.Pp
The