C Tutorial/signal.h/raise

Материал из C\C++ эксперт
Перейти к: навигация, поиск

raise

Item Value Header file signal.h Declaration int raise(int signal); Function sends the specified by signal to the executing program. Return returns 0 on success or nonzero on failure.

The following signals are defined by Standard C.

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