minix/lib/libsys/sys_abort.c
Lionel Sambuc e412a58209 Message type for SYS_ABORT
Change-Id: Ic24a4779cc7955cb94f81fec58a358057ca85cb1
2014-07-28 17:05:46 +02:00

13 lines
229 B
C

#include "syslib.h"
#include <stdarg.h>
#include <unistd.h>
int sys_abort(int how)
{
/* Something awful has happened. Abandon ship. */
message m;
m.m_lsys_krn_sys_abort.how = how;
return(_kernel_call(SYS_ABORT, &m));
}