xprintf d727b10
impl/xprintf-debug.h File Reference

Debugging for host-based testing of xprintf(), not for embedded use. More...

Functions

void xprintf__debug2hostV (const char *format, va_list ap)
 A routine that prints debugging information to a test environment.

Detailed Description

Debugging for host-based testing of xprintf(), not for embedded use.


Function Documentation

void xprintf__debug2hostV ( const char *  format,
va_list  ap 
)

A routine that prints debugging information to a test environment.

Must be implemented by the test rig's environment and print to a suitable stream e.g.:

 #include "impl/xprintf-debug.h"

 void xprintf__debug2hostV(const char *format, va_list ap) {
   vfprintf(stderr, format, ap));
 }
Parameters:
formata printf() type format
apthe va_list for the format