summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/signal.3
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1995-02-25 04:43:20 +0000
committerphk <phk@FreeBSD.org>1995-02-25 04:43:20 +0000
commit1b262ea352357ad02136f400358274e808a6bba5 (patch)
tree96ecca534ba0da66e0920f6d98eb38db0090ada8 /lib/libc/gen/signal.3
parente65f65449292f010273ba128140d06276ed4679e (diff)
downloadFreeBSD-src-1b262ea352357ad02136f400358274e808a6bba5.zip
FreeBSD-src-1b262ea352357ad02136f400358274e808a6bba5.tar.gz
Explain the full story, and make it understandable too.
Diffstat (limited to 'lib/libc/gen/signal.3')
-rw-r--r--lib/libc/gen/signal.39
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/libc/gen/signal.3 b/lib/libc/gen/signal.3
index 3e1ccdd..1a31412 100644
--- a/lib/libc/gen/signal.3
+++ b/lib/libc/gen/signal.3
@@ -39,8 +39,13 @@
.Nd simplified software signal facilities
.Sh SYNOPSIS
.Fd #include <signal.h>
-.Ft void
-.Fn *signal "int sig" "void \*(lp*func\*(rp\*(lpint\*(rp"
+.Ft void \*(lp*\*(rp
+.Fn \*(lpsignal "int sig" "void \*(lp*func\*(rp\*(lpint\*(rp\*(rp\*(rp\*(lpint"
+
+or in FreeBSD's equivalent but easier to read typedef'd version:
+.Ft typedef "void \*(lp*sig_t\*(rp \*(lpint\*(rp"
+.Ft sig_t
+.Fn signal "int sig" "sig_t func"
.Sh DESCRIPTION
This
.Fn signal
OpenPOWER on IntegriCloud