2004-04-10 18:53:55 +00:00
|
|
|
.TH ABORT 3
|
|
|
|
|
.SH NAME
|
|
|
|
|
abort \- generate a fault
|
|
|
|
|
.SH SYNOPSIS
|
|
|
|
|
.B #include <u.h>
|
|
|
|
|
.br
|
|
|
|
|
.B #include <libc.h>
|
|
|
|
|
.PP
|
|
|
|
|
.nf
|
|
|
|
|
.B
|
|
|
|
|
void abort(void)
|
|
|
|
|
.fi
|
|
|
|
|
.SH DESCRIPTION
|
|
|
|
|
.I Abort
|
|
|
|
|
causes an access fault, causing the current process to enter the `Broken' state.
|
|
|
|
|
The process can then be inspected by a debugger.
|
|
|
|
|
.SH SOURCE
|
2004-04-19 19:22:56 +00:00
|
|
|
.B /usr/local/plan9/src/libc/9sys/abort.c
|