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

PXFSIGACTION

POSIX Subroutine: Changes the action associated with a specific signal. It can also be used to examine the action of a signal. This routine is only available for Linux.

Module

USE IFPOSIX

CALL PXFSIGACTION (isig,jsigact,josigact,ierror)

isig

(Input) INTEGER(4). The signal number whose action should be changed.

jsigact

(Input) INTEGER(4). A handle of structure sigaction. Specifies the new action for signal isig.

josigact

(Output) INTEGER(4). A handle of structure sigaction.Stores the previous action for signal isig.

ierror

(Output) INTEGER(4). The error status.

If successful, ierror is set to zero; otherwise, an error code.

The signal specified in isig can be any valid signal except SIGKILL and SIGSTOP.

If jsigact is nonzero, the new action for signal isig is installed from the structure associated with handle jsigact. If josigact is nonzero, the previous action of the specified signal is saved in the structure associated with handle josigact where it can be examined.

NOTE:

To get a handle for an instance of the sigaction structure, use PXFSTRUCTCREATE with the string 'sigaction' for the structure name.

See Also