Back to index

im-sdk  12.3.91
Functions
logf.c File Reference
#include <stdio.h>
#include <stdarg.h>

Go to the source code of this file.

Functions

void DEBUG_printf (const char *fmt,...)

Function Documentation

void DEBUG_printf ( const char *  fmt,
  ... 
)

Definition at line 46 of file logf.c.

{
#ifdef DEBUG
       va_list args;
       char str[1024] ;

       va_start(args, fmt);
              fprintf(stderr, str, vsprintf (str, fmt, args)) ;
       va_end(args);
       return ;
#endif
}