]> git.ipfire.org Git - thirdparty/man-pages.git/blobdiff - man3/raise.3
err.3: EXAMPLES: use EXIT_FAILURE rather than 1 as exit status
[thirdparty/man-pages.git] / man3 / raise.3
index 00a834181603b0194d6262586111d756ee71fbd0..d20c54c439f49f2995aa5ca6875b209a7c454edf 100644 (file)
 .\" 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  2015-03-02 "GNU" "Linux Programmer's Manual"
+.TH RAISE 3  2015-08-08 "GNU" "Linux Programmer's Manual"
 .SH NAME
 raise \- send a signal to the caller
 .SH SYNOPSIS
 .nf
 .B #include <signal.h>
-.sp
+.PP
 .BI "int raise(int " sig );
 .fi
 .SH DESCRIPTION
@@ -40,19 +40,19 @@ The
 .BR raise ()
 function sends a signal to the calling process or thread.
 In a single-threaded program it is equivalent to
-.sp
+.PP
 .in +4n
-.nf
+.EX
 kill(getpid(), sig);
-.fi
+.EE
 .in
 .PP
 In a multithreaded program it is equivalent to
-.sp
+.PP
 .in +4n
-.nf
+.EX
 pthread_kill(pthread_self(), sig);
-.fi
+.EE
 .in
 .PP
 If the signal causes a handler to be called,
@@ -74,7 +74,7 @@ T{
 T}     Thread safety   MT-Safe
 .TE
 .SH CONFORMING TO
-C89, C99, POSIX.1-2001.
+POSIX.1-2001, POSIX.1-2008, C89, C99.
 .SH NOTES
 Since version 2.3.3, glibc implements
 .BR raise ()