Detailed Descriptions > MIAMEX

MIAMEX 54: Get signal received status

xcall MIAMEX, MX_GETSIG, sigmask

(UNIX only) This function returns a bitmap indicating which signals have been received since the last time this function was called. sigmask (F,6) will be returned with the following bits set or cleared:

Symbol

Value

Meaning

SIGINT

&h0001

Ctrl+C

SIGCHLD

&h0002

Child process terminated

SIGUSR1

&h0004

Receipt of ITC or IJC message

SIGUSR2

&h0008

PolyShell swap operation

SIGHUP

&h0010

Hangup (telnet or terminal session disconnected)

SIGKILL

&h0020

Kill (cannot be trapped so will never be seen)

SIGTSTP

&h0040

Background task waiting for terminal context to perform input operation

SIGALRM

&h0080

Alarm signal (used by sleep timers and WAKNO.SBR)

SIGTERM

&h0100

Default kill signal

SIGPIPE

&h0200

Broken pipe or socket connect (other end has terminated)

Hex-Decimal Values