xcall MIAMEX, MX_GETSIG, sigmask
(UNIX only) MX_GETSIG returns a bitmap indicating which signals have been received since the last time this function was called.
Parameters
sigmask (F,6)
Returns with zero or one of the following bits set to indicate which signal (if any) was received:
Symbol |
Value |
Name |
Meaning |
SR_INT |
&h0001 |
SIGINT |
Ctrl+C |
SR_CHLD |
&h0002 |
SIGCHLD |
Child process terminated |
SR_USR1 |
&h0004 |
SIGUSR1 |
Receipt of ITC or IJC message |
SR_USR2 |
&h0008 |
SIGUSR2 |
PolyShell swap operation |
SR_HUP |
&h0010 |
SIGHUP |
Hangup (telnet or terminal session disconnected) |
SR_KILL |
&h0020 |
SIGKILL |
Kill (cannot be trapped so will never be seen) |
SR_TSTP |
&h0040 |
SIGTSTP |
Background task waiting for terminal context to perform input operation |
SR_ALRM |
&h0080 |
SIGALRM |
Alarm signal (used by sleep timers and WAKNO.SBR) |
SR_TERM |
&h0100 |
SIGTERM |
Default kill signal |
SR_PIPE |
&h0200 |
SIGPIPE |
Broken pipe or socket connect (other end has terminated) |
Definition file: ashell.def |