raise [C++ Reference]
Keywords: c,other,raise
Date: 2008-11-29T14:09:33-0800

[[raise]]
C++ Reference
Translations of this page?:

- en
- br-pt
- cn
- fr
- it
- jp
- pl
- ru
- tr

## raise

Syntax:

        #include <csignal>
        int raise( int signal );

The raise() function sends the specified signal to the program. Some signals:

Signal | Meaning
--- | ---
SIGABRT | Termination error
SIGFPE | Floating pointer error
SIGILL | Bad instruction
SIGINT | User pressed CTRL-C
SIGSEGV | Illegal memory access
SIGTERM | Terminate program

The return value is zero upon success, nonzero on failure.

Related Topics: signal

Edit this page • Old revisions
• • • Login • Index • Recent changes • RSS • cc •