raise(3): Note that this sends a signal to the current thread, not process.

This is how it works (with threading libraries loaded) and what POSIX
requires.

MFC after:	1 week
This commit is contained in:
Jilles Tjoelker 2010-05-07 17:20:15 +00:00
parent a026a25b1d
commit 8949fcf0dc
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=207749

View File

@ -32,12 +32,12 @@
.\" @(#)raise.3 8.1 (Berkeley) 6/4/93 .\" @(#)raise.3 8.1 (Berkeley) 6/4/93
.\" $FreeBSD$ .\" $FreeBSD$
.\" .\"
.Dd June 4, 1993 .Dd May 7, 2010
.Dt RAISE 3 .Dt RAISE 3
.Os .Os
.Sh NAME .Sh NAME
.Nm raise .Nm raise
.Nd send a signal to the current process .Nd send a signal to the current thread
.Sh LIBRARY .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
@ -49,7 +49,7 @@ The
.Fn raise .Fn raise
function sends the signal function sends the signal
.Fa sig .Fa sig
to the current process. to the current thread.
.Sh RETURN VALUES .Sh RETURN VALUES
.Rv -std raise .Rv -std raise
.Sh ERRORS .Sh ERRORS