summaryrefslogtreecommitdiff
path: root/rts/hooks/OnExit.c
blob: d99cb83ac390c9c2b9a88e9bc30355a258af190e (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
/* -----------------------------------------------------------------------------
 *
 * User-overridable RTS hooks.
 *
 * ---------------------------------------------------------------------------*/

#include "PosixSource.h"
#include "Rts.h"

/* Note: by the time this hook has been called, Haskell land
 * will have been shut down completely.
 *
 * ToDo: feed the hook info on whether we're shutting down as a result
 * of termination or run-time error ?
 */
 
void
OnExitHook (void)
{
}

// Local Variables:
// mode: C
// fill-column: 80
// indent-tabs-mode: nil
// c-basic-offset: 4
// buffer-file-coding-system: utf-8-unix
// End: