Developer Guide and Reference

ID 767251
Date 10/31/2024
Public
Document Table of Contents

PXFSIGEMPTYSET

POSIX Subroutine: Empties a signal set. This routine is only available for Linux.

Module

USE IFPOSIX

CALL PXFSIGEMPTYSET (jsigset,ierror)

jsigset

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

ierror

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

If successful, ierror is set to zero; otherwise, nonzero.

The PXFSIGEMPTYSET subroutine initializes the signal set associated with handle jsigset to empty; all signals are excluded from the set. 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.