kolibrios/programs/develop/ktcc/trunk/libc/stdio/debug.c

14 lines
304 B
C
Raw Normal View History

#include <stdarg.h>
#include <stdio.h>
#include <kolibrisys.h>
void debug_printf(const char *format,...)
{
va_list ap;
char log_board[300];
va_start (ap, format);
vsnprintf(log_board, sizeof log_board, format, ap);
va_end(ap);
debug_out_str(log_board);
}