summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJoseph Koshy <jkoshy@FreeBSD.org>2004-12-23 02:48:20 +0000
committerJoseph Koshy <jkoshy@FreeBSD.org>2004-12-23 02:48:20 +0000
commit6e6bc3ed0d18328dae03300819b63e6a73c904bb (patch)
treee2bc68f0ab66d13ec72e2c9f1bf4adc77017c3fc /lib
parent0fddf92d72da698c258aee024385550fc8bf7713 (diff)
Notes
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/gen/signal.320
1 files changed, 14 insertions, 6 deletions
diff --git a/lib/libc/gen/signal.3 b/lib/libc/gen/signal.3
index 1fdad3386480..b6b2eccb9429 100644
--- a/lib/libc/gen/signal.3
+++ b/lib/libc/gen/signal.3
@@ -42,14 +42,22 @@
.Lb libc
.Sh SYNOPSIS
.In signal.h
-.\" The following is Quite Ugly, but syntactically correct.
-.\" Don't try to
-.\" fix it.
-.Ft void \*(lp*
-.Fn signal "int sig" "void \*(lp*func\*(rp\*(lpint\*(rp\*(rp\*(rp\*(lpint"
+.\" XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX
+.\" The prototype for signal(3) cannot be cleanly marked up in -mdoc
+.\" without the following lower-level tweak.
+.nr in-synopsis-section 0
.Pp
+.Ft "void \*(lp*" Ns
+.Fo signal
+.Fa "int sig"
+.Fa "void \*(lp*func\*(rp\*(lpint\*(rp"
+.Fc Ns
+.Ft "\*(rp\*(lpint\*(rp" ;
+.Pp
+.nr in-synopsis-section 1
+.\" XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX
or in
-.Fx Ns 's
+.Fx Ap s
equivalent but easier to read typedef'd version:
.Ft typedef "void \*(lp*sig_t\*(rp \*(lpint\*(rp" ;
.Ft sig_t