Subversion Repositories Kolibri OS

Rev

Rev 8687 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

  1. /* Copyright (C) 2021 Logaev Maxim (turbocat2001), GPLv2 */
  2.  
  3. #include <stdio.h>
  4. #include <stdarg.h>
  5. #include <limits.h>
  6.  
  7. void debug_printf(const char *format,...)
  8. {
  9.     va_list ap;
  10.     static char log_board[STDIO_MAX_MEM];
  11.     va_start (ap, format);
  12.     vsnprintf(log_board, STDIO_MAX_MEM, format, ap);
  13.     va_end(ap);
  14.     _ksys_debug_puts(log_board);
  15. }
  16.