Browse Source

Initial revision

ceriel 37 years ago
parent
commit
a72685c2b5
1 changed files with 7 additions and 0 deletions
  1. 7 0
      modules/src/alloc/No_Mem.c

+ 7 - 0
modules/src/alloc/No_Mem.c

@@ -0,0 +1,7 @@
+#include	<system.h>
+
+No_Mem()
+{
+	(void) sys_write(2, "Out of memory\n", 14);
+	sys_stop(S_EXIT);
+}