abort 331 B

123456789101112131415161718
  1. .TH ABORT 2
  2. .SH NAME
  3. abort \- generate a fault
  4. .SH SYNOPSIS
  5. .B #include <u.h>
  6. .br
  7. .B #include <libc.h>
  8. .PP
  9. .nf
  10. .B
  11. void abort(void)
  12. .fi
  13. .SH DESCRIPTION
  14. .I Abort
  15. causes an access fault, causing the current process to enter the `Broken' state.
  16. The process can then be inspected by a debugger.
  17. .SH SOURCE
  18. .B /sys/src/libc/9sys/abort.c