home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 9 / FreshFishVol9-CD2.bin / bbs / gnu / libnix-0.8-src.lha / libnix-0.8 / sources / nix / assert / __eprintf.c
Encoding:
C/C++ Source or Header  |  1994-12-12  |  199 b   |  11 lines

  1. #include <stdio.h>
  2. #include <stdarg.h>
  3.  
  4. void __eprintf(const char *format,...) /* for asserts */
  5. { va_list args;
  6.   va_start(args,format);
  7.   vfprintf(stderr,format,args);
  8.   va_end(args);
  9.   abort();
  10. }
  11.