kolibrios/programs/develop/ktcc/trunk/libc/stdio/debug.c
superturbocat2001 fa2d611c7e Fixed strerror function and added socket error handling.
Cleared all libck warnings. 
Updated libimg.h

git-svn-id: svn://kolibrios.org@8540 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-01-18 22:04:07 +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);
}