aboutsummaryrefslogtreecommitdiffstats
path: root/runtime/GCCLibraries/libgcc/eprintf.c
blob: d4229fad92142a9b48b75ae19a24f577dfb7c3d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <stdio.h>
void abort(void);

/* This is used by the `assert' macro.  */
void
__eprintf (const char *string, const char *expression,
           unsigned int line, const char *filename)
{
  fprintf (stderr, string, expression, line, filename);
  fflush (stderr);
  abort ();
}