39 #define PRINT_ERROR_NONE 0 40 #define PRINT_ERROR_MALFORMED 0x1 41 #define PRINT_ERROR_UNSUPPORTED 0x2 42 #define PRINT_ERROR_MAX 0x04 43 #define PRINT_ERROR_TRUNCATED 0x08 56 size_t printf(
const char* format, ...);
64 size_t snprintf(
char* str,
size_t size,
const char* format, ...);
size_t printf(const char *format,...)
print format string on user output
size_t snprintf(char *str, size_t size, const char *format,...)
print format string on string or user output
uint8_t print_error
flags to indicate which error(s) occurred within printf or snprintf