Mention tdsignal(9).
MFC after: 1 week
This commit is contained in:
parent
50e66535b9
commit
4c7ad48309
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=226119
@ -972,7 +972,8 @@ MLINKS+=printf.9 log.9 \
|
|||||||
MLINKS+=priv.9 priv_check.9 \
|
MLINKS+=priv.9 priv_check.9 \
|
||||||
priv.9 priv_check_cred.9
|
priv.9 priv_check_cred.9
|
||||||
MLINKS+=psignal.9 gsignal.9 \
|
MLINKS+=psignal.9 gsignal.9 \
|
||||||
psignal.9 pgsignal.9
|
psignal.9 pgsignal.9 \
|
||||||
|
psignal.9 tdsignal.9
|
||||||
MLINKS+=random.9 arc4rand.9 \
|
MLINKS+=random.9 arc4rand.9 \
|
||||||
random.9 arc4random.9 \
|
random.9 arc4random.9 \
|
||||||
random.9 read_random.9 \
|
random.9 read_random.9 \
|
||||||
|
@ -28,14 +28,15 @@
|
|||||||
.\" $NetBSD: psignal.9,v 1.1 1996/06/22 22:57:35 pk Exp $
|
.\" $NetBSD: psignal.9,v 1.1 1996/06/22 22:57:35 pk Exp $
|
||||||
.\" $FreeBSD$
|
.\" $FreeBSD$
|
||||||
.\"
|
.\"
|
||||||
.Dd June 22, 1996
|
.Dd October 8, 2011
|
||||||
.Dt PSIGNAL 9
|
.Dt PSIGNAL 9
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
.Nm psignal ,
|
.Nm psignal ,
|
||||||
.Nm pgsignal ,
|
.Nm pgsignal ,
|
||||||
.Nm gsignal
|
.Nm gsignal ,
|
||||||
.Nd post signal to a process or process group
|
.Nm tdsignal
|
||||||
|
.Nd post signal to a thread, process, or process group
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.In sys/types.h
|
.In sys/types.h
|
||||||
.In sys/signalvar.h
|
.In sys/signalvar.h
|
||||||
@ -45,8 +46,10 @@
|
|||||||
.Fn pgsignal "struct pgrp *pgrp" "int signum" "int checkctty"
|
.Fn pgsignal "struct pgrp *pgrp" "int signum" "int checkctty"
|
||||||
.Ft void
|
.Ft void
|
||||||
.Fn gsignal "int pgid" "int signum"
|
.Fn gsignal "int pgid" "int signum"
|
||||||
|
.Ft void
|
||||||
|
.Fn tdsignal "struct thread *td" "int signum"
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
These functions post a signal to one or more processes.
|
These functions post a signal to a thread or one or more processes.
|
||||||
The argument
|
The argument
|
||||||
.Fa signum
|
.Fa signum
|
||||||
common to all three functions should be in the range
|
common to all three functions should be in the range
|
||||||
@ -135,6 +138,13 @@ set to zero.
|
|||||||
If
|
If
|
||||||
.Fa pgid
|
.Fa pgid
|
||||||
is zero no action is taken.
|
is zero no action is taken.
|
||||||
|
.Pp
|
||||||
|
The
|
||||||
|
.Fn tdsignal
|
||||||
|
function posts signal number
|
||||||
|
.Fa signum
|
||||||
|
to the thread represented by the thread structure
|
||||||
|
.Fa td .
|
||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
.Xr sigaction 2 ,
|
.Xr sigaction 2 ,
|
||||||
.Xr signal 9 ,
|
.Xr signal 9 ,
|
||||||
|
Loading…
Reference in New Issue
Block a user