summaryrefslogtreecommitdiff
path: root/share/man/man9
diff options
context:
space:
mode:
authorVisa Hankala <visa@cvs.openbsd.org>2018-12-17 14:51:58 +0000
committerVisa Hankala <visa@cvs.openbsd.org>2018-12-17 14:51:58 +0000
commit694f21ee3a364e4979b4985b5e8ae4b813d653a8 (patch)
tree2f50e12d02073abdaef818f5779977c9a8516144 /share/man/man9
parentb6f7fe82f40e7e3d3e0269dd08f48e7d8f831926 (diff)
Remove unused function gsignal().
OK deraadt@ anton@
Diffstat (limited to 'share/man/man9')
-rw-r--r--share/man/man9/psignal.919
1 files changed, 3 insertions, 16 deletions
diff --git a/share/man/man9/psignal.9 b/share/man/man9/psignal.9
index dc661082c47..45c2a29aaa8 100644
--- a/share/man/man9/psignal.9
+++ b/share/man/man9/psignal.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: psignal.9,v 1.6 2018/11/12 15:15:31 visa Exp $
+.\" $OpenBSD: psignal.9,v 1.7 2018/12/17 14:51:57 visa Exp $
.\" $NetBSD: psignal.9,v 1.5 1999/03/16 00:40:47 garbled Exp $
.\"
.\" Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -28,14 +28,13 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: November 12 2018 $
+.Dd $Mdocdate: December 17 2018 $
.Dt PSIGNAL 9
.Os
.Sh NAME
.Nm psignal ,
.Nm pgsignal ,
-.Nm pgsigio ,
-.Nm gsignal
+.Nm pgsigio
.Nd post signal to a process
.Sh SYNOPSIS
.Ft void
@@ -44,8 +43,6 @@
.Fn pgsignal "struct pgrp *pgrp" "int signum" "int checkctty"
.Ft void
.Fn pgsigio "struct sigio_ref *sir" "int sigum" "int checkctty"
-.Ft void
-.Fn gsignal "int pgid" "int signum"
.Sh DESCRIPTION
These functions post a signal to one or more processes.
The argument
@@ -119,16 +116,6 @@ If
.Fa checkctty
is non-zero, the signal will be posted only to processes that have
a controlling terminal.
-.Pp
-The
-.Fn gsignal
-function posts signal number
-.Fa signum
-to each member of the process group identified by the group id
-.Fa pgid .
-If
-.Fa pgid
-is zero no action is taken.
.Sh CODE REFERENCES
These functions are implemented in the file
.Pa sys/kern/kern_sig.c .