Subversion Repositories filter_foundry

Rev

Rev 193 | Go to most recent revision | Blame | Last modification | View Log | RSS feed

  1. #include <stdarg.h>
  2. #include <stdio.h>
  3.  
  4. #include "dbg.h"
  5.  
  6. int dprintf(const char *fmt, ...){
  7.         char s[0x200];
  8.         int n;
  9.         va_list v;
  10.  
  11.         va_start(v,fmt);
  12.         n = vsprintf(s,fmt,v);
  13.         va_end(v);
  14.        
  15.         dbg(s);
  16.         return n;
  17. }
  18.