forked from KolibriOS/kolibrios
- 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
This commit is contained in:
12
programs/develop/ktcc/trunk/libc/stdio/debug.c
Normal file
12
programs/develop/ktcc/trunk/libc/stdio/debug.c
Normal file
@@ -0,0 +1,12 @@
|
||||
#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);
|
||||
}
|
Reference in New Issue
Block a user