Source to src/writelog.c
/*
* UAE - The Un*x Amiga Emulator
*
* Standard write_log that writes to the console
*
* Copyright 2001 Bernd Schmidt
*/
#include "sysconfig.h"
#include "sysdeps.h"
void write_log_standard (const char *fmt, ...)
{
va_list ap;
va_start (ap, fmt);
#ifdef HAVE_VFPRINTF
vfprintf (stderr, fmt, ap);
#else
/* Technique stolen from GCC. */
{
int x1, x2, x3, x4, x5, x6, x7, x8;
x1 = va_arg (ap, int);
x2 = va_arg (ap, int);
x3 = va_arg (ap, int);
x4 = va_arg (ap, int);
x5 = va_arg (ap, int);
x6 = va_arg (ap, int);
x7 = va_arg (ap, int);
x8 = va_arg (ap, int);
fprintf (stderr, fmt, x1, x2, x3, x4, x5, x6, x7, x8);
}
#endif
}