1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-20 20:29:31 +00:00
cc65/libsrc/common/abort.c

24 lines
268 B
C
Raw Normal View History

/*
** abort.c
**
** Ullrich von Bassewitz, 02.06.1998
*/
#include <stdio.h>
#include <stdlib.h>
#include <signal.h>
#include <cc65.h>
void abort (void)
{
raise (SIGABRT);
fputs ("ABNORMAL PROGRAM TERMINATION\n", stderr);
exit (CC65_EXIT_ABORT);
}