minix/lib/libsys/sys_abort.c

14 lines
213 B
C
Raw Normal View History

2005-04-21 16:53:53 +02:00
#include "syslib.h"
#include <stdarg.h>
#include <unistd.h>
int sys_abort(int how)
2005-04-21 16:53:53 +02:00
{
/* Something awful has happened. Abandon ship. */
message m;
m.ABRT_HOW = how;
return(_kernel_call(SYS_ABORT, &m));
2005-04-21 16:53:53 +02:00
}