minix/lib/libsys/sys_abort.c
2012-11-22 19:16:17 +01:00

13 lines
213 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.ABRT_HOW = how;
return(_kernel_call(SYS_ABORT, &m));
}