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

ID 767251
Date 3/22/2024
Public

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

Document Table of Contents

PXFSIGPROCMASK

POSIX Subroutine: Changes the list of currently blocked signals. This routine is only available for Linux.

Module

USE IFPOSIX

CALL PXFSIGPROCMASK (ihow,jsigset,josigset,ierror)

ihow

(Input) INTEGER(4). Defines the action for jsigset.

jsigset

(Input) INTEGER(4). A handle of structure sigset. The signals to examine.

josigset

(Input) INTEGER(4). A handle of structure sigset. Stores the previous mask of blocked signals.

ierror

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

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

The argument ihow indicates the way in which the set is to be changed, and consists of one of the following constant names:

Constant 1

Action

SIG_BLOCK

The resulting set of blocked signals will be the union of the current signal set and the jsigset signal set.

SIG_UNBLOCK

The resulting set of blocked signals will be the current set of blocked signals with the signals in jsigset removed. It is legal to attempt to unblock a signal that is not blocked.

SIG_SETMASK

The resulting set of blocked signals will be the jsigset signal set.

1These names can be used in PXFCONST or IPXFCONST.

If josigset is non-zero, the previous value of the signal mask is stored in the structure associated with handle josigset.

See Also