summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authormpp <mpp@FreeBSD.org>1996-07-03 02:44:04 +0000
committermpp <mpp@FreeBSD.org>1996-07-03 02:44:04 +0000
commit142a6ee13511f951a36b67b3f147f8acdc23b46f (patch)
treeb1d705c32e006051c3cfc7390cef1781a51ffe37 /lib
parente8b984806f460b41b8441717f0fa5482a20b0cf7 (diff)
downloadFreeBSD-src-142a6ee13511f951a36b67b3f147f8acdc23b46f.zip
FreeBSD-src-142a6ee13511f951a36b67b3f147f8acdc23b46f.tar.gz
Document the "sig" function parameter.
Submitted by: James Raynard
Diffstat (limited to 'lib')
-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