Intel® Fortran Compiler 17.0 Developer Guide and Reference

PXFSIGADDSET (L*X, M*X)

POSIX Subroutine: Adds a signal to the signal set.

Module

USE IFPOSIX

CALL PXFSIGADDSET (jsigset,isigno,ierror)

jsigset

(Input) INTEGER(4). A handle of structure sigset. This is the set to add the signal to.

isigno

(Input) INTEGER(4). The signal number to add to the set.

ierror

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

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

The PXFSIGADDSET subroutine adds signal number isigno to the set of signals associated with handle jsigset. 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.

See Also