1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-27 00:29:31 +00:00
cc65/libsrc/common/abort.c
cuz 06c1fafdcd Raise SIGABRT
git-svn-id: svn://svn.cc65.org/cc65/trunk@2015 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-03-14 00:02:31 +00:00

24 lines
238 B
C

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