pxfsigprocmask
- Date:
10-20-2011
NAME
PXFSIGPROCMASK - Examines and changes blocked signals
SYNOPSIS
INTEGER ihow, jsigset, josigset, ierror
CALL PXFSIGPROCMASK(ihow, jsigset, josigset, ierror)
STANDARDS
IEEE Std 1003.9-1992 standard interface for FORTRAN 77
DESCRIPTION:
The PXFSIGPROCMASK subroutine uses sigprocmask(2) to store the set of signals blocked from delivery and pending for the calling process.
All arguments must be of default kind unless documented otherwise. Default kind is KIND=4 for integer, real, complex, and logical arguments.
The following is a list of arguments for this routine:
- ihow
A default integer input variable containing the manner in which the set is changed. The possible values are:
- SIG_BLOCK
Add to current mask set.
- SIG_UNBLOCK
Delete from current mask set.
- SIG_SETMASK
Replace current mask set.
This argument is ignored if josigset is NULL. If ihow is zero, the current set is not changed.
This value may also be set to SIG_NOP, which does not alter the current mask set. This value is equivalent to providing a NULL handle for josigset.
- jsigset
A default integer input variable containing a handle created by PXFSTRUCTCREATE(sigset,…). If nonzero, the handle points to a set of signals that can be used to change the currently blocked set.
- josigset
A default integer output variable containing a handle created by PXFSTRUCTCREATE(sigset,…). If nonzero, the handle will be set to the currently blocked signal set. If zero, the currently blocked signal set will not be changed and the value of ihow is ignored.
- ierror
A default integer output variable that contains zero if PXFSIGPPROCMASK was successful and nonzero if PXFSIGPPROCMASK was not successful.
NOTES
Replace any Fortran reference to sigpprocmask() with a subroutine call to PXFSIGPROCMASK.
SEE ALSO
sigprocmask(2), PXFSTRUCTCREATE(3F)