svn commit: r231293 - stable/8/share/man/man9

Baptiste Daroussin bapt at FreeBSD.org
Thu Feb 9 16:57:35 UTC 2012


Author: bapt
Date: Thu Feb  9 16:57:34 2012
New Revision: 231293
URL: http://svn.freebsd.org/changeset/base/231293

Log:
  MFH r226119: Mention tdsignal(9)
  
  Approved by:	des (mentor)

Modified:
  stable/8/share/man/man9/Makefile
  stable/8/share/man/man9/psignal.9
Directory Properties:
  stable/8/share/man/man9/   (props changed)

Modified: stable/8/share/man/man9/Makefile
==============================================================================
--- stable/8/share/man/man9/Makefile	Thu Feb  9 16:57:21 2012	(r231292)
+++ stable/8/share/man/man9/Makefile	Thu Feb  9 16:57:34 2012	(r231293)
@@ -970,7 +970,8 @@ MLINKS+=printf.9 log.9 \
 MLINKS+=priv.9 priv_check.9 \
 	priv.9 priv_check_cred.9
 MLINKS+=psignal.9 gsignal.9 \
-	psignal.9 pgsignal.9
+	psignal.9 pgsignal.9 \
+	psignal.9 tdsignal.9
 MLINKS+=random.9 arc4rand.9 \
 	random.9 arc4random.9 \
 	random.9 read_random.9 \

Modified: stable/8/share/man/man9/psignal.9
==============================================================================
--- stable/8/share/man/man9/psignal.9	Thu Feb  9 16:57:21 2012	(r231292)
+++ stable/8/share/man/man9/psignal.9	Thu Feb  9 16:57:34 2012	(r231293)
@@ -35,14 +35,15 @@
 .\"	$NetBSD: psignal.9,v 1.1 1996/06/22 22:57:35 pk Exp $
 .\" $FreeBSD$
 .\"
-.Dd June 22, 1996
+.Dd October 8, 2011
 .Dt PSIGNAL 9
 .Os
 .Sh NAME
 .Nm psignal ,
 .Nm pgsignal ,
-.Nm gsignal
-.Nd post signal to a process or process group
+.Nm gsignal ,
+.Nm tdsignal
+.Nd post signal to a thread, process, or process group
 .Sh SYNOPSIS
 .In sys/types.h
 .In sys/signalvar.h
@@ -52,8 +53,10 @@
 .Fn pgsignal "struct pgrp *pgrp" "int signum" "int checkctty"
 .Ft void
 .Fn gsignal "int pgid" "int signum"
+.Ft void
+.Fn tdsignal "struct thread *td" "int signum"
 .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
 .Fa signum
 common to all three functions should be in the range
@@ -142,6 +145,13 @@ set to zero.
 If
 .Fa pgid
 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
 .Xr sigaction 2 ,
 .Xr signal 9 ,


More information about the svn-src-stable-8 mailing list