summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/gen/signal.33
-rw-r--r--lib/libc/sys/sigaction.23
2 files changed, 5 insertions, 1 deletions
diff --git a/lib/libc/gen/signal.3 b/lib/libc/gen/signal.3
index 3fd52d8..cff30ec 100644
--- a/lib/libc/gen/signal.3
+++ b/lib/libc/gen/signal.3
@@ -127,6 +127,9 @@ is possible on a descriptor (see
.El
.Pp
The
+.Fa sig
+parameter specifies which signal was received.
+The
.Fa func
procedure allows a user to choose the action upon receipt of a signal.
To set the default action of the signal to occur as listed above,
diff --git a/lib/libc/sys/sigaction.2 b/lib/libc/sys/sigaction.2
index b9fe5ca..38e8613 100644
--- a/lib/libc/sys/sigaction.2
+++ b/lib/libc/sys/sigaction.2
@@ -117,7 +117,8 @@ the signal to be delivered, and
the signal mask associated with the handler to be invoked.
.Pp
.Fn Sigaction
-assigns an action for a specific signal.
+assigns an action for a signal specified by
+.Fa sig .
If
.Fa act
is non-zero, it
OpenPOWER on IntegriCloud