[project @ 1996-07-19 18:36:04 by partain]
[ghc-hetmet.git] / ghc / runtime / hooks / OutOfStk.lc
1 \begin{code}
2 #include "rtsdefs.h"
3
4 void
5 StackOverflowHook (stack_size)
6   I_ stack_size;    /* in bytes */
7 {
8     fprintf(stderr, "Stack space overflow: current size %ld bytes.\nUse `+RTS -Ksize' to increase it.\n", stack_size);
9 }
10 \end{code}