integrated printf routines. Only tested yet for "before copy"-case (which is more difficult than afterwards).

This commit is contained in:
Markus Fröschle
2012-10-25 18:12:16 +00:00
parent 7a7b94beb2
commit 785c6dfe30
7 changed files with 188 additions and 175 deletions

11
include/bas_printf.h Normal file
View File

@@ -0,0 +1,11 @@
#ifndef _BAS_PRINTF_H_
#define _BAS_PRINTF_H_
#include <stdarg.h>
typedef uint32_t size_t;
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 /* _BAS_PRINTF_H_ */