aboutsummaryrefslogtreecommitdiffstats
path: root/man7/signal.7
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2010-06-12 14:53:29 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2010-06-12 14:53:29 +0200
commit7edfdaca06f086b785b25a61ded5840d2af6866c (patch)
treec3b4776b568061ac310384786f8e2fb3aef5a687 /man7/signal.7
parent8d4eb5f87ecfba2012cbab767c87df538306312c (diff)
downloadman-pages-7edfdaca06f086b785b25a61ded5840d2af6866c.tar.gz
signal.7: Make a clearer statement about nonportable aspect of signal(2)
Make a clearer statement that signal(2) is less portable for establishing a signal handler. Reported-by: Reuben Thomas <rrt@sc3d.org> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man7/signal.7')
-rw-r--r--man7/signal.78
1 files changed, 6 insertions, 2 deletions
diff --git a/man7/signal.7 b/man7/signal.7
index bc1e72ecb7..d67c8937f4 100644
--- a/man7/signal.7
+++ b/man7/signal.7
@@ -41,7 +41,7 @@
.\" 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
@@ -69,8 +69,12 @@ Default action is to continue the process if it is currently stopped.
.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;