1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-18 00:07:21 +00:00
cc65/libsrc/common/abort.c

23 lines
244 B
C
Raw Normal View History

/*
** abort.c
**
** Ullrich von Bassewitz, 02.06.1998
*/
#include <stdio.h>
2022-04-17 14:06:22 +00:00
#include <stdlib.h>
#include <signal.h>
void abort (void)
{
raise (SIGABRT);
fputs ("ABNORMAL PROGRAM TERMINATION\n", stderr);
exit (EXIT_ABORT);
}