Initial revision
This commit is contained in:
14
lib/ansi/assert.c
Executable file
14
lib/ansi/assert.c
Executable file
@@ -0,0 +1,14 @@
|
||||
/*
|
||||
* assert.c - diagnostics
|
||||
*/
|
||||
/* $Header$ */
|
||||
|
||||
#include <assert.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
void __bad_assertion(const char *mess) {
|
||||
|
||||
fputs(mess, stderr);
|
||||
abort();
|
||||
}
|
||||
Reference in New Issue
Block a user