Trailing-Edge
-
PDP-10 Archives
-
SRI_NIC_PERM_FS_1_19910112
-
c/lib/gen/abort.c
There are 9 other files named abort.c in the archive. Click here to see a list.
/*
** ABORT - Abort process as illegally as possible
**
** (c) Copyright Ken Harrenstien 1989
**
*/
#include <signal.h> /* For raise() */
void
abort()
{
raise(SIGABRT); /* First attempt to trigger signal */
for(;;)
asm("\t0\n"); /* 0 is a good illegal instruction on PDP-10s */
/* We loop just in case int handler checks the address for presence
** of an ERJMP instruction.
*/
}