libc

A portable C Library
Log | Files | Refs | README

__assert.c (162B)


      1 #include <stdio.h>
      2 #include <stdlib.h>
      3 #include "assert.h"
      4 
      5 void
      6 __assert(char *mesg)
      7 {
      8 	fputs(mesg,stderr);
      9 	fputs(" -- assertion failed\n",stderr);
     10 	abort();
     11 }