Commit | Line | Data |
---|---|---|
1db1d545 KB |
1 | .\" Copyright (c) 1990 The Regents of the University of California. |
2 | .\" All rights reserved. | |
3 | .\" | |
4 | .\" %sccs.include.redist.man% | |
5 | .\" | |
6 | .\" @(#)raise.3 5.1 (Berkeley) %G% | |
7 | .\" | |
8 | .TH RAISE 3 "" | |
9 | .UC 7 | |
10 | .SH NAME | |
11 | raise \- send a signal to the current process | |
12 | .SH SYNOPSIS | |
13 | int raise(int sig); | |
14 | .SH DESCRIPTION | |
15 | The | |
16 | .I raise | |
17 | function sends the signal | |
18 | .I sig | |
19 | to the current process. | |
20 | .SH RETURNS | |
21 | Upon successful completion, a value of 0 is returned. | |
22 | Otherwise, a value of -1 is returned and | |
23 | .I errno | |
24 | is set to indicate the error. | |
25 | .SH ERRORS | |
26 | .I Raise | |
27 | may fail and set | |
28 | .I errno | |
29 | for any of the errors specified for the library function | |
30 | .IR getpid(2) | |
31 | and | |
32 | .IR kill(2). | |
33 | .SH SEE ALSO | |
34 | kill(2) | |
35 | .SH STANDARDS | |
36 | .I Raise | |
37 | conforms to ANSI X3.159-1989 (``ANSI C''). |