assert.c 181 B

1234567891011121314
  1. /*
  2. * assert.c - diagnostics
  3. */
  4. /* $Id$ */
  5. #include <assert.h>
  6. #include <stdio.h>
  7. #include <stdlib.h>
  8. void __bad_assertion(const char *mess) {
  9. fputs(mess, stderr);
  10. abort();
  11. }