kolibrios-fun/programs/develop/ktcc/trunk/libc/stdio/debug.c
turbocat e08c6968ef ktcc: rollback to r9529
git-svn-id: svn://kolibrios.org@9558 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-02 12:16:17 +00:00

14 lines
304 B
C

#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);
}