rand

raise

#include <signal.h>int raise(int signal);

The raise( ) function sends the signal specified by signal to the executing program. It returns zero if successful and nonzero otherwise. Its uses the header <signal.h>, or <csignal> in a C++ program.

The following signals are defined by Standard C. Of course, your compiler is free to provide additional signals:

Macro

Meaning

SIGABRT

Termination error

SIGFPE

Floating-point error

SIGILL

Bad instruction

SIGINT

User pressed CTRL-C

SIGSEGV

Illegal memory access

SIGTERM

Terminate program

A related function is signal( ).




C(s)C++ Programmer's Reference
C Programming on the IBM PC (C Programmers Reference Guide Series)
ISBN: 0673462897
EAN: 2147483647
Year: 2002
Pages: 539

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net