Changed <sys/signal.h> to <signal.h>.

Most BSD derived OS's now document these legacy functions with a <signal.h>
API.  This is especially appropriate for NetBSD, since their prototypes are
in <signal.h>, not <sys/signal.h>.
This commit is contained in:
jtc 1994-12-05 18:51:47 +00:00
parent 8e86469fc8
commit 47b200fa5c
4 changed files with 8 additions and 8 deletions

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)killpg.2 6.5 (Berkeley) 3/10/91
.\" $Id: killpg.3,v 1.4 1994/06/13 18:50:03 cgd Exp $
.\" $Id: killpg.3,v 1.5 1994/12/05 18:51:47 jtc Exp $
.\"
.Dd March 10, 1991
.Dt KILLPG 3
@ -39,7 +39,7 @@
.Nm killpg
.Nd send signal to a process group
.Sh SYNOPSIS
.Fd #include <sys/signal.h>
.Fd #include <signal.h>
.Ft int
.Fn killpg "pid_t pgrp" "int sig"
.Sh DESCRIPTION

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)sigblock.2 6.7 (Berkeley) 3/10/91
.\" $Id: sigblock.3,v 1.4 1994/06/13 18:50:09 cgd Exp $
.\" $Id: sigblock.3,v 1.5 1994/12/05 18:51:49 jtc Exp $
.\"
.Dd March 10, 1991
.Dt SIGBLOCK 3
@ -39,7 +39,7 @@
.Nm sigblock
.Nd block signals
.Sh SYNOPSIS
.Fd #include <sys/signal.h>
.Fd #include <signal.h>
.Ft int
.Fn sigblock "int mask"
.Ft int

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)sigpause.2 6.6 (Berkeley) 3/10/91
.\" $Id: sigpause.3,v 1.5 1994/10/17 23:49:33 cgd Exp $
.\" $Id: sigpause.3,v 1.6 1994/12/05 18:51:50 jtc Exp $
.\"
.Dd March 10, 1991
.Dt SIGPAUSE 3
@ -39,7 +39,7 @@
.Nm sigpause
.Nd atomically release blocked signals and wait for interrupt
.Sh SYNOPSIS
.Fd #include <sys/signal.h>
.Fd #include <signal.h>
.Ft int
.Fn sigpause "int sigmask"
.Sh DESCRIPTION

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)sigsetmask.2 6.7 (Berkeley) 3/10/91
.\" $Id: sigsetmask.3,v 1.5 1994/10/17 23:49:35 cgd Exp $
.\" $Id: sigsetmask.3,v 1.6 1994/12/05 18:51:51 jtc Exp $
.\"
.Dd March 10, 1991
.Dt SIGSETMASK 3
@ -39,7 +39,7 @@
.Nm sigsetmask
.Nd set current signal mask
.Sh SYNOPSIS
.Fd #include <sys/signal.h>
.Fd #include <signal.h>
.Ft int
.Fn sigsetmask "int mask"
.Fn sigmask signum