minix3/lib/libsys/sys_abort.c

14 lines
229 B
C
Raw Normal View History

2020-02-21 00:59:27 +05:30
#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));
}