kolibrios/programs/develop/ktcc/trunk/libc/stdio/debug.c
superturbocat2001 1dab73b754 - Added macros X_W and Y_H and deleted debug kos32sys1.h
- Moved debug functions to libc.a
- Removed console.h since libcon no longer exists
- Added tcc_http_demo to build_all.sh
(Applies to ktcc)

git-svn-id: svn://kolibrios.org@8464 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-21 18:08:02 +00:00

13 lines
285 B
C

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