120
145
*--p = (digit < 10 ? '0' : 'a' - 10) + digit;
121
146
} while (value != 0 && p > buffer);
164
@discussion similar to snprintf(), but only support for "%s", "%d", "%u", "%x" with optional length for the numbers
127
171
int qprintf(char *str, const size_t size, const char *format, ...)