home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / GCC / GERLIB_DEV08B.LHA / gerlib / gnulib / normal / eprintf.c < prev    next >
Encoding:
C/C++ Source or Header  |  1993-12-12  |  507 b   |  24 lines

  1. #include <exec/types.h>
  2. #include <dos/dos.h>
  3. #include <inline/stubs.h>
  4. #ifdef __OPTIMIZE__
  5. #include <inline/exec.h>
  6. #include <inline/dos.h>
  7. #else
  8. #include <clib/exec_protos.h>
  9. #include <clib/dos_protos.h>
  10. #endif
  11. volatile void abort(void);
  12. LONG FPrintf( BPTR fh, STRPTR format, ... );
  13.  
  14. void
  15. __eprintf (string, expression, line, filename)
  16.      char *string;
  17.      char *expression;
  18.      int line;
  19.      char *filename;
  20. {
  21.   FPrintf(Output(), string, expression, line, filename);
  22.   Flush (Output());
  23.   abort ();
  24. }