summaryrefslogblamecommitdiff
path: root/src/kernel/lib/std.cpp
blob: aa5f606c10951f40aae4ad8e7e8d310e7d61b62c (plain) (tree)
1
2
3
4
5
6
7
8
9
10

                     
                  



              


                                                

                                                                    
#include "std.h"
#include "core/sys.h"
#include "ui/vt.h"

int errno = 0;

void abort() {
	ke_vt->writeStr("\n\n ABORT - errno: ");
	ke_vt->writeDec(errno);
	ke_vt->writeStr("\n");
	PANIC("abort() called, probably a memory manager failure.");
}