Visible to Intel only — GUID: GUID-32880DC9-6641-4880-85EC-D9155E9C00BC
Visible to Intel only — GUID: GUID-32880DC9-6641-4880-85EC-D9155E9C00BC
PXFSIGACTION
POSIX Subroutine: Changes the action associated with a specific signal. It can also be used to examine the action of a signal. This routine is only available for Linux.
Module
USE IFPOSIX
CALL PXFSIGACTION (isig,jsigact,josigact,ierror)
isig |
(Input) INTEGER(4). The signal number whose action should be changed. |
jsigact |
(Input) INTEGER(4). A handle of structure sigaction. Specifies the new action for signal isig. |
josigact |
(Output) INTEGER(4). A handle of structure sigaction.Stores the previous action for signal isig. |
ierror |
(Output) INTEGER(4). The error status. |
If successful, ierror is set to zero; otherwise, an error code.
The signal specified in isig can be any valid signal except SIGKILL and SIGSTOP.
If jsigact is nonzero, the new action for signal isig is installed from the structure associated with handle jsigact. If josigact is nonzero, the previous action of the specified signal is saved in the structure associated with handle josigact where it can be examined.
To get a handle for an instance of the sigaction structure, use PXFSTRUCTCREATE with the string 'sigaction' for the structure name.