.\" Added section on stop/cont signals interrupting syscalls.
.\" 2008-10-05, mtk: various additions
.\"
-.TH SIGNAL 7 2010-02-03 "Linux" "Linux Programmer's Manual"
+.TH SIGNAL 7 2010-06-12 "Linux" "Linux Programmer's Manual"
.SH NAME
signal \- overview of signals
.SH DESCRIPTION
.PP
A process can change the disposition of a signal using
.BR sigaction (2)
-or (less portably)
+or
.BR signal (2).
+(The latter is less portable when establishing a signal handler;
+see
+.BR signal (2)
+for details.)
Using these system calls, a process can elect one of the
following behaviors to occur on delivery of the signal:
perform the default action; ignore the signal;
for further details.
.SS "Async-signal-safe functions"
.PP
-A signal handling routine established by
-.BR sigaction (2)
-or
-.BR signal (2)
-must be very careful, since processing elsewhere may be interrupted
+A signal handler function must be very careful,
+since processing elsewhere may be interrupted
at some arbitrary point in the execution of the program.
POSIX has the concept of "safe function".
If a signal interrupts the execution of an unsafe function, and