summaryrefslogtreecommitdiff
path: root/minix/lib/libsys/sys_abort.c
blob: 547bd9d3c1a6d547277eee710a453f834c362603 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#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));
}