raise

Sends a signal to the executing program

Local Servers:nonblocking
Remote Servers:N/A
Classification:ANSI
Service:Thread

Syntax

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

Parameters

condition
(IN) Specifies the condition for which to raise a signal.

Return Values

This function returns a value of 0 when the condition is successfully raised and a nonzero value otherwise.

Remarks

The raise function signals the exception condition indicated by the condition parameter. The signal function can be used to specify the action to take place when a signal is raised. See the discussion of the signal function for a list of the possible conditions.

There can be no return of control following a call to the raise function if the action for that condition is to terminate the program or to transfer control using longjmp .

See Also

longjmp, signal