summaryrefslogtreecommitdiff
path: root/src/kernel/lib/std.cpp
blob: 7ab4f64841aa1e208061756f3eb9f0cd5d331e7f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#include "std.h"
#include "core/sys.h"
#include "core/monitor.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.");
}