commit | 0926d2df7a5606c2b7c341d51f04a396084c39f2 | [log] [tgz] |
---|---|---|
author | Juan Pablo Conde <juanpablo.conde@arm.com> | Wed Nov 08 13:03:53 2023 -0600 |
committer | Juan Pablo Conde <juanpablo.conde@arm.com> | Wed Nov 29 12:48:42 2023 -0600 |
tree | bee916383290cb3108957b43b31255734ffb0108 | |
parent | e7486343d46a0d60047233adfd8a64436bbac1fd [diff] |
feat(libc): add printf support for space padding This patch makes printf capable of padding strings with spaces to their left, allowing right-aligning numeric values and strings. It uses the same width field for the format specifier as in the original libc function : %<width><type> (e.g.: %10d pads an integer value with spaces to the left to complete 10 characters). Change-Id: Ib7b5519dae17742181352ce58e507a05ba5250d4 Signed-off-by: Juan Pablo Conde <juanpablo.conde@arm.com>