121338Sdist /* 2*24054Skarels * Copyright (c) 1985 Regents of the University of California. 321338Sdist * All rights reserved. The Berkeley software License Agreement 421338Sdist * specifies the terms and conditions for redistribution. 521338Sdist */ 617866Sralph 721338Sdist #ifndef lint 8*24054Skarels static char sccsid[] = "@(#)abort.c 5.2 (Berkeley) 07/26/85"; 921338Sdist #endif not lint 1021338Sdist 1117866Sralph /* C library -- abort */ 1217866Sralph 1317866Sralph #include "signal.h" 1417866Sralph 1517866Sralph abort() 1617866Sralph { 1717866Sralph sigblock(~0); 1817866Sralph signal(SIGILL, SIG_DFL); 1917866Sralph sigsetmask(~sigmask(SIGILL)); 20*24054Skarels kill(getpid(), SIGILL); 2117866Sralph } 22