arm-trusted-firmware/lib/libc
Juan Pablo Conde 0926d2df7a 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>
2023-11-29 12:48:42 -06:00
..
aarch32 plat/arm: Introduce and use libc_asm.mk makefile 2020-09-02 16:21:34 +00:00
aarch64 chore: update to use Arm word across TF-A 2023-08-08 15:12:30 +01:00
abort.c chore: update to use Arm word across TF-A 2023-08-08 15:12:30 +01:00
assert.c chore: update to use Arm word across TF-A 2023-08-08 15:12:30 +01:00
exit.c chore: update to use Arm word across TF-A 2023-08-08 15:12:30 +01:00
libc.mk chore: update to use Arm word across TF-A 2023-08-08 15:12:30 +01:00
libc_asm.mk libc: Import strtoull from FreeBSD project 2021-02-03 10:36:33 -06:00
memchr.c chore: update to use Arm word across TF-A 2023-08-08 15:12:30 +01:00
memcmp.c chore: update to use Arm word across TF-A 2023-08-08 15:12:30 +01:00
memcpy.c chore: update to use Arm word across TF-A 2023-08-08 15:12:30 +01:00
memcpy_s.c chore: update to use Arm word across TF-A 2023-08-08 15:12:30 +01:00
memmove.c chore: update to use Arm word across TF-A 2023-08-08 15:12:30 +01:00
memrchr.c libc: add memrchr 2019-12-11 08:51:26 +01:00
memset.c chore: update to use Arm word across TF-A 2023-08-08 15:12:30 +01:00
printf.c feat(libc): add printf support for space padding 2023-11-29 12:48:42 -06:00
putchar.c chore: update to use Arm word across TF-A 2023-08-08 15:12:30 +01:00
puts.c chore: update to use Arm word across TF-A 2023-08-08 15:12:30 +01:00
snprintf.c feat(libc): add %c to printf/snprintf 2023-05-11 10:32:28 +01:00
strchr.c chore: update to use Arm word across TF-A 2023-08-08 15:12:30 +01:00
strcmp.c chore: update to use Arm word across TF-A 2023-08-08 15:12:30 +01:00
strlcat.c libc: Import strlcat from FreeBSD project 2020-09-09 13:48:04 -05:00
strlcpy.c libc: Adapt strlcpy to this codebase 2018-11-02 13:41:33 +00:00
strlen.c chore: update to use Arm word across TF-A 2023-08-08 15:12:30 +01:00
strncmp.c chore: update to use Arm word across TF-A 2023-08-08 15:12:30 +01:00
strnlen.c chore: update to use Arm word across TF-A 2023-08-08 15:12:30 +01:00
strrchr.c libc: Integrate strrchr in libc 2018-10-23 18:27:45 +01:00
strtok.c libc: Import strtok_r from FreeBSD project 2020-09-18 11:58:41 -05:00
strtol.c libc: Import strtol from FreeBSD project 2021-02-03 10:36:33 -06:00
strtoll.c libc: Import strtoll from FreeBSD project 2021-02-03 10:36:33 -06:00
strtoul.c libc: Import strtoul from FreeBSD project 2021-02-03 10:36:33 -06:00
strtoull.c libc: Import strtoull from FreeBSD project 2021-02-03 10:36:33 -06:00