Changed signal prototype to be more like ANSI C
This commit is contained in:
parent
c299fd2d61
commit
45da58c78f
|
@ -1,4 +1,4 @@
|
|||
.\" $NetBSD: signal.3,v 1.5 1995/02/27 05:51:12 cgd Exp $
|
||||
.\" $NetBSD: signal.3,v 1.6 1996/03/26 02:05:55 jtc Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1980, 1991, 1993
|
||||
.\" The Regents of the University of California. All rights reserved.
|
||||
|
@ -42,11 +42,11 @@
|
|||
.Sh SYNOPSIS
|
||||
.Fd #include <signal.h>
|
||||
.Ft void
|
||||
.Fn *signal sig func\*(lp\*(rp
|
||||
.Ft void
|
||||
.\" can not do this with .Fn yet
|
||||
.\" can not do this with just .Fn yet
|
||||
.br
|
||||
\*(lp\|\*(fN*func\*(rp\*(lp\|\*(rp\fR
|
||||
.Po
|
||||
.Fn *signal "int sig" "void (*func)()"
|
||||
.Pc Ns \*(lp\*(rp
|
||||
.Sh DESCRIPTION
|
||||
This
|
||||
.Fn signal
|
||||
|
|
Loading…
Reference in New Issue