projects
/
ghc-hetmet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[project @ 1997-11-24 21:07:39 by sof]
[ghc-hetmet.git]
/
ghc
/
runtime
/
hooks
/
OutOfVM.lc
1
\begin{code}
2
#include "rtsdefs.h"
3
4
void
5
MallocFailHook (I_ request_size /* in bytes */, char *msg)
6
{
7
fprintf(stderr, "malloc: failed on request for %lu bytes; message: %s\n", request_size, msg);
8
}
9
\end{code}