source:
trunk/minix/lib/ansi/assert.c@
13
| Last change on this file since 13 was 9, checked in by , 14 years ago | |
|---|---|
| File size: 261 bytes | |
| Line | |
|---|---|
| 1 | /* |
| 2 | * assert.c - diagnostics |
| 3 | */ |
| 4 | /* $Header: /cvsup/minix/src/lib/ansi/assert.c,v 1.1.1.1 2005/04/21 14:56:04 beng Exp $ */ |
| 5 | |
| 6 | #include <assert.h> |
| 7 | #include <stdio.h> |
| 8 | #include <stdlib.h> |
| 9 | |
| 10 | void __bad_assertion(const char *mess) { |
| 11 | |
| 12 | fputs(mess, stderr); |
| 13 | abort(); |
| 14 | } |
Note:
See TracBrowser
for help on using the repository browser.