-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/


-- | Multiplatform signal support for Haskell
--   
--   This simple library allows you to handle os signals on both Linux and
--   Windows.
@package signal
@version 0.1.0.4

module System.Signal
type Signal = CInt

-- | SIGABRT - Abnormal termination
sigABRT :: Signal

-- | SIGFPE - Floating-point error
sigFPE :: Signal

-- | SIGILL - Illegal instruction
sigILL :: Signal

-- | SIGINT - CTRL+C signal
sigINT :: Signal

-- | SIGSEGV - Illegal storage access
sigSEGV :: Signal

-- | SIGTERM - Termination request
sigTERM :: Signal
type Handler = Signal -> IO ()
installHandler :: Signal -> Handler -> IO ()
