mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-16 10:20:30 +00:00
Better rendering of the prototype for signal(3).
Suggested by: ru
This commit is contained in:
parent
0fddf92d72
commit
6e6bc3ed0d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=139224
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user