commit | 746c0af2995e371273563516654ca5dd0aa76df1 | [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 | 887e7f4d14f0d0cef79c03c20740f1374981da51 [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>