The following code sets new action for SIGALRM to default
processing and returns the previous action for SIGALARM.
For the callable service, see
__sigactionset (BPX1SA2, BPX4SA2) — Examine or change a set of signal actions.
For the data structure, see
BPXYSIGH — Signal constants. AMODE 64 callers use
BPX4SA2 (__sigactionset) example.
XC R15,R15
ST R15,SSETOPTION_FLAGS
OI SSETOPTION_FLAGS1,SSET_IGINVALID
LA R14,1
ST R11,BUFCNTB
LA R14,BUFFERA
USING SSET,R14
MVC SSETFLAGS,=XL4'00000000'
MVC SSETSAMASK,=XL8'0FFF0F0000000000'
MVC SSETSAHANDLER,EPADDR
MVC SSETUSERDATA,=CL4'DATA'
DROP R14
SPACE ,
CALL BPX1SA2, Examine/change multiple sig acts +
(=A(1), Input: One SSET set +
BUFFERA, Input: Signal set input BPXYSSET +
BUFCNTB, In/Out: Number of array elements +
BUFFERB, Output: Address of output struct +
SSETOPTION_FLAGS, Input: Mapped by BPXYSSET +
RETVAL, Return value: 0 or -1 +
RETCODE, Return code +
RSNCODE), Reason code +
VL,MF=(E,PLIST) ----------------------------------