Skip to content

Commit cf5410e

Browse files
hasufellBodigrim
authored andcommitted
Improve documentation in System.Posix.Signals
Fixes #56
1 parent c223ec4 commit cf5410e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

System/Posix/Signals.hsc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,9 @@ data Handler = Default
439439
-- cannot be caught or ignored.
440440
-- not yet: | Hold
441441
| Catch (IO ())
442+
-- ^ signal handler is not reset
442443
| CatchOnce (IO ())
444+
-- ^ signal handler is automatically reset (via @SA_RESETHAND@)
443445
| CatchInfo (SignalInfo -> IO ()) -- ^ @since 2.7.0.0
444446
| CatchInfoOnce (SignalInfo -> IO ()) -- ^ @since 2.7.0.0
445447
deriving (Typeable)

0 commit comments

Comments
 (0)