Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference

ID 767251
Date 11/07/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

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