Raise SIGABRT
git-svn-id: svn://svn.cc65.org/cc65/trunk@2015 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
e39b1c963e
commit
06c1fafdcd
1 changed files with 3 additions and 1 deletions
|
@ -7,12 +7,14 @@
|
|||
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdlib.h>
|
||||
#include <signal.h>
|
||||
|
||||
|
||||
|
||||
void abort (void)
|
||||
{
|
||||
raise (SIGABRT);
|
||||
fputs ("ABNORMAL PROGRAM TERMINATION\n", stderr);
|
||||
exit (3);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue