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

## 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