Intel® Fortran Compiler 16.0 User and Reference Guide

RAISEQQ

Portability Function: Sends a signal to the executing program.

Module

USE IFPORT

result = RAISEQQ (sig)

sig

(Input) INTEGER(4). Signal to raise. One of the following constants (defined in IFPORT.F90):

  • SIG$ABORT - Abnormal termination

  • SIG$FPE - Floating-point error

  • SIG$ILL - Illegal instruction

  • SIG$INT - CTRL+Csignal

  • SIG$SEGV - Illegal storage access

  • SIG$TERM - Termination request

If you do not install a signal handler (with SIGNALQQ, for example), when a signal occurs the system by default terminates the program with exit code 3.

Results

The result type is INTEGER(4). The result is zero if successful; otherwise, nonzero.

If a signal-handling routine for sig has been installed by a prior call to SIGNALQQ, RAISEQQ causes that routine to be executed. If no handler routine has been installed, the system terminates the program (the default action).

See Also