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

ID 767251
Date 3/31/2023
Public

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

Document Table of Contents

PXFSIGISMEMBER

POSIX Subroutine: Tests whether a signal is a member of a signal set. This routine is only available for Linux and macOS.

Module

USE IFPOSIX

CALL PXFSIGISMEMBER (jsignset,isigno,ismember,ierror)

jsignset

(Input) INTEGER(4). A handle of structure sigset. This is the set the signal will be tested in.

isigno

(Input) INTEGER(4). The signal number to test for membership.

ismember

(Output) Logical. The returned result.

ierror

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

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

The PXFSIGISMEMBER subroutine tests whether isigno is a member of the set associated with handle jsignset. If the signal is a member of the set, ismember is set to .TRUE.; otherwise, .FALSE.. This set of signals is used by PXFSIGACTION as field sa_mask in structure sigaction. It defines the set of signals that will be blocked during execution of the signal handler function (the field sa_handler in structure sigaction).

On Windows* systems, PXFSIGACTION ignores the field sa_mask in structure sigaction.

NOTE:

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