aboutsummaryrefslogtreecommitdiffhomepage
path: root/System/Posix/Signals/Exts.hsc
blob: 3634277b8d6b98d0706c340d6745e5a3f030649a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{-# LANGUAGE CPP #-}
{-# LANGUAGE Safe #-}

-----------------------------------------------------------------------------
-- |
-- Module      :  System.Posix.Signals.Exts
-- Copyright   :  (c) The University of Glasgow 2002
-- License     :  BSD-style (see the file libraries/base/LICENSE)
--
-- Maintainer  :  libraries@haskell.org
-- Stability   :  provisional
-- Portability :  non-portable (requires POSIX, includes Linuxisms/BSDisms)
--
-- non-POSIX signal support commonly available
--
-----------------------------------------------------------------------------

#include "HsUnixConfig.h"
##include "HsUnixConfig.h"

#ifdef HAVE_SIGNAL_H
#include <signal.h>
#endif

module System.Posix.Signals.Exts (
  module System.Posix.Signals
  , sigINFO
  , sigWINCH
  , infoEvent
  , windowChange
  ) where

import Foreign.C
import System.Posix.Signals

sigINFO   :: CInt
sigINFO   = CONST_SIGINFO

sigWINCH   :: CInt
sigWINCH   = CONST_SIGWINCH


infoEvent :: Signal
infoEvent = sigINFO

windowChange :: Signal
windowChange = sigWINCH