]> git.ipfire.org Git - thirdparty/man-pages.git/blob - man3/raise.3
hyphenation fixes
[thirdparty/man-pages.git] / man3 / raise.3
1 .\" (c) 1993 by Thomas Koenig (ig25@rz.uni-karlsruhe.de)
2 .\"
3 .\" Permission is granted to make and distribute verbatim copies of this
4 .\" manual provided the copyright notice and this permission notice are
5 .\" preserved on all copies.
6 .\"
7 .\" Permission is granted to copy and distribute modified versions of this
8 .\" manual under the conditions for verbatim copying, provided that the
9 .\" entire resulting derived work is distributed under the terms of a
10 .\" permission notice identical to this one.
11 .\"
12 .\" Since the Linux kernel and libraries are constantly changing, this
13 .\" manual page may be incorrect or out-of-date. The author(s) assume no
14 .\" responsibility for errors or omissions, or for damages resulting from
15 .\" the use of the information contained herein. The author(s) may not
16 .\" have taken the same level of care in the production of this manual,
17 .\" which is licensed free of charge, as they might when working
18 .\" professionally.
19 .\"
20 .\" Formatted or processed versions of this manual, if unaccompanied by
21 .\" the source, must acknowledge the copyright and authors of this work.
22 .\" License.
23 .\" Modified Sat Jul 24 18:40:56 1993 by Rik Faith (faith@cs.unc.edu)
24 .\" Modified 1995 by Mike Battersby (mib@deakin.edu.au)
25 .\"
26 .TH RAISE 3 1995-08-31 "GNU" "Linux Programmer's Manual"
27 .SH NAME
28 raise \- send a signal to the current process
29 .SH SYNOPSIS
30 .nf
31 .B #include <signal.h>
32 .sp
33 .BI "int raise(int " sig );
34 .fi
35 .SH DESCRIPTION
36 The
37 .BR raise ()
38 function sends a signal to the current process.
39 It is equivalent to
40 .sp
41 .RS
42 .BI "kill(getpid(), " "sig" );
43 .RE
44 .SH "RETURN VALUE"
45 0 on success, nonzero for failure.
46 .SH "CONFORMING TO"
47 C89, C99.
48 .SH "SEE ALSO"
49 .BR getpid (2),
50 .BR kill (2),
51 .BR signal (2)