diff options
Diffstat (limited to 'man/man3/abort.3')
-rw-r--r-- | man/man3/abort.3 | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/man/man3/abort.3 b/man/man3/abort.3 new file mode 100644 index 00000000..7b00a4d9 --- /dev/null +++ b/man/man3/abort.3 @@ -0,0 +1,18 @@ +.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 +.B /sys/src/libc/9sys/abort.c |