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 presed CTRL-C SIGSEGV Illegal memory access SIGTERM Terminate program

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

Related Topics: signal