home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The C Users' Group Library 1994 August
/
wc-cdrom-cusersgrouplibrary-1994-08.iso
/
listings
/
v_08_09
/
8n09018a
< prev
next >
Wrap
Text File
|
1990-08-12
|
285b
|
17 lines
/* _Assert function
* copyright (c) 1990 by P.J. Plauger
*/
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
/* print assertion message and abort */
void _Assert(char *mesg)
{
fputs(mesg, stderr);
fputs(" -- assertion failed\n", stderr);
abort();
}