projects
/
ghc-hetmet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
a5a108e0921ffece156b0d2edc7257a683d4b041
[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}