added free (BSD-source) tiny-printf to support better diagnostic messages

This commit is contained in:
Markus Fröschle
2012-10-25 12:01:48 +00:00
parent 437d0b9998
commit 55e6937179
7 changed files with 444 additions and 23 deletions

9
include/printf.h Normal file
View File

@@ -0,0 +1,9 @@
#ifndef _PRINTF_H_
#define _PRINTF_H_
extern void xvsnprintf(char *str, size_t size, const char *fmt, va_list va);
extern void xvprintf(const char *fmt, va_list va);
extern void xprintf(const char *fmt, ...);
extern void xsnprintf(char *str, size_t size, const char *fmt, ...);
#endif /* _PRINTF_H_ */