summaryrefslogtreecommitdiffstats
path: root/upstream/debian-unstable/man3/raise.3
diff options
context:
space:
mode:
Diffstat (limited to 'upstream/debian-unstable/man3/raise.3')
-rw-r--r--upstream/debian-unstable/man3/raise.315
1 files changed, 7 insertions, 8 deletions
diff --git a/upstream/debian-unstable/man3/raise.3 b/upstream/debian-unstable/man3/raise.3
index 49d2d966..417097d1 100644
--- a/upstream/debian-unstable/man3/raise.3
+++ b/upstream/debian-unstable/man3/raise.3
@@ -7,7 +7,7 @@
.\" Modified Sat Jul 24 18:40:56 1993 by Rik Faith (faith@cs.unc.edu)
.\" Modified 1995 by Mike Battersby (mib@deakin.edu.au)
.\"
-.TH raise 3 2023-07-20 "Linux man-pages 6.05.01"
+.TH raise 3 2024-05-02 "Linux man-pages 6.8"
.SH NAME
raise \- send a signal to the caller
.SH LIBRARY
@@ -16,7 +16,7 @@ Standard C library
.SH SYNOPSIS
.nf
.B #include <signal.h>
-.PP
+.P
.BI "int raise(int " sig );
.fi
.SH DESCRIPTION
@@ -24,21 +24,21 @@ The
.BR raise ()
function sends a signal to the calling process or thread.
In a single-threaded program it is equivalent to
-.PP
+.P
.in +4n
.EX
kill(getpid(), sig);
.EE
.in
-.PP
+.P
In a multithreaded program it is equivalent to
-.PP
+.P
.in +4n
.EX
pthread_kill(pthread_self(), sig);
.EE
.in
-.PP
+.P
If the signal causes a handler to be called,
.BR raise ()
will return only after the signal handler has returned.
@@ -59,12 +59,11 @@ T{
.BR raise ()
T} Thread safety MT-Safe
.TE
-.sp 1
.SH STANDARDS
C11, POSIX.1-2008.
.SH HISTORY
POSIX.1-2001, C89.
-.PP
+.P
Since glibc 2.3.3,
.BR raise ()
is implemented by calling