This library writes a C string pointed by format to a defined output. It works like a standard fprintf C function with some limitations.
Supported format specifiers:
-
d-> Signed decimal integer. -
i-> Signed decimal integer. -
u-> Unsigned decimal integer. -
x-> Unsigned hexadecimal integer uppercase . -
X-> Unsigned hexadecimal integer uppercase. -
c-> Character. -
s-> String of characters. -
p-> Pointer address. -
%-> Two following % will result in single % sent to the stream. -
*-> Variable field width size - it shall be used together with the above format specifiers, for example: "%*s".
Supported format flags:
-
--> Left justification. -
0-> Left-pads the number with zeroes. -
+-> Forces to display the result with a plus or minus sign.