Difference between revisions of "cpp/utility/program/raise"
From cppreference.com
(→Parameters: use proper template) |
m (Text replace - "/sidebar" to "/navbar") |
||
Line 1: | Line 1: | ||
{{cpp/title| raise}} | {{cpp/title| raise}} | ||
− | {{cpp/utility/program/ | + | {{cpp/utility/program/navbar}} |
{{ddcl | header=csignal | | {{ddcl | header=csignal | | ||
int raise( int sig ); | int raise( int sig ); |
Revision as of 14:18, 15 June 2012
Defined in header <csignal>
|
||
int raise( int sig ); |
||
Sends signal sig to the program. The signal handler, specified using signal()
is invoked.
If the user-defined signal handling strategy is not set using signal()
yet, it is implementation-defined whether the signal will be ignored or default handler will be invoked.
Contents |
Parameters
sig | - | the signal to be sent. It can be an implementation-defined value or one of the following values:
|
Return value
0 upon success, non-zero value on failure.
Example
This section is incomplete Reason: no example |
See also
sets a signal handler for particular signal (function) | |
C documentation for raise
|