Last modified on Mon Oct 12 15:51:28 PDT 1992 by muller
UNSAFE MODULE; IMPORT Word, Ctypes; PROCEDURE Usignal sigmask (n: Ctypes.int): Ctypes.int = BEGIN RETURN Word.Shift (1, n-1); END sigmask; BEGIN BADSIG := LOOPHOLE (-1, SignalActionHandler); SIG_ERR := LOOPHOLE (-1, SignalActionHandler); SIG_DFL := LOOPHOLE ( 0, SignalActionHandler); SIG_IGN := LOOPHOLE ( 1, SignalActionHandler); SIG_HOLD := LOOPHOLE ( 3, SignalActionHandler); END Usignal.