📄 raise.html
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head> <meta name="generator" content= "HTML Tidy for Linux/x86 (vers 1 September 2005), see www.w3.org"> <title>raise</title> <link href="../cppreference.css" rel="stylesheet" type="text/css"></head><body><table> <tr> <td> <div class="body-content"> <div class="header-box"> <a href="../index.html">cppreference.com</a> > <a href= "index.html">Other Standard C Functions</a> > <a href= "raise.html">raise</a> </div> <div class="name-format"> raise </div> <div class="syntax-name-format"> Syntax: </div> <pre class="syntax-box"> #include <signal.h> int raise( int signal );</pre> <p>The raise() function sends the specified <em>signal</em> to the program. Some signals:</p> <table class="code-table"> <tr> <th class="code-table-th">Signal</th> <th class="code-table-th">Meaning</th> </tr> <tr> <td class="code-table-td">SIGABRT</td> <td class="code-table-td">Termination error</td> </tr> <tr> <td class="code-table-td">SIGFPE</td> <td class="code-table-td">Floating pointer error</td> </tr> <tr> <td class="code-table-td">SIGILL</td> <td class="code-table-td">Bad instruction</td> </tr> <tr> <td class="code-table-td">SIGINT</td> <td class="code-table-td">User presed CTRL-C</td> </tr> <tr> <td class="code-table-td">SIGSEGV</td> <td class="code-table-td">Illegal memory access</td> </tr> <tr> <td class="code-table-td">SIGTERM</td> <td class="code-table-td">Terminate program</td> </tr> </table> <p>The return value is zero upon success, nonzero on failure.</p> <div class="related-name-format"> Related topics: </div> <div class="related-content"> <a href="signal.html">signal</a> </div> </div> </td> </tr> </table></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -