metal-cos/lib/libc/abort.c
2015-01-04 22:10:37 -08:00

16 lines
151 B
C

#include <stdint.h>
#include <stdlib.h>
#include <sys/cdefs.h>
#include <syscall.h>
NO_RETURN void
abort()
{
OSExit(-1);
UNREACHABLE();
}