summaryrefslogblamecommitdiff
path: root/src/user/lib/std/stdlib.c
blob: 21753e9a7db2f64a44132f4fd452ba25215fb688 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                 
#include <stdlib.h>
#include <stdio.h>

volatile int errno;

void abort() {
	printk("Abort - errno ");
	printk_int(errno);
	printk(".\n");
	process_exit(-1);
}