summaryrefslogtreecommitdiff
path: root/src/kernel/lib/std.c
blob: 316dfa32f7a298a07ced531736c0a915a2bd6695 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#include "std.h"
#include "core/sys.h"

int errno = 0;

void abort() {
	monitor_write("\n\n ABORT - errno: ");
	monitor_writeDec(errno);
	monitor_write("\n");
	PANIC("abort() called, probably a memory manager failure.");
}