From af2b497fdfd34ab8ef7d75af311742f1f019e858 Mon Sep 17 00:00:00 2001 From: ceriel Date: Mon, 23 Feb 1987 11:38:21 +0000 Subject: [PATCH] Initial revision --- modules/src/alloc/No_Mem.c | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 modules/src/alloc/No_Mem.c diff --git a/modules/src/alloc/No_Mem.c b/modules/src/alloc/No_Mem.c new file mode 100644 index 000000000..72c9025a9 --- /dev/null +++ b/modules/src/alloc/No_Mem.c @@ -0,0 +1,7 @@ +#include + +No_Mem() +{ + (void) sys_write(2, "Out of memory\n", 14); + sys_stop(S_EXIT); +}