[PATCH v3 0/2] tools/nolibc: support left-aligned printing in printf
From: licheng.li
Date: Fri Jan 30 2026 - 02:19:00 EST
This series adds support for left alignment ('-') to nolibc's printf implementation.
v3 drop the implicit support for the '0' flag from this patch and
revert to my original goal: strictly supporting left alignment ('-').
Best regards, Cheng Li
Cheng Li (2):
tools/nolibc: support left alignment (-) in printf
selftests/nolibc: add tests for printf left alignment and zero padding
tools/include/nolibc/stdio.h | 19 ++++++++++++++++---
tools/testing/selftests/nolibc/nolibc-test.c | 2 ++
2 files changed, 18 insertions(+), 3 deletions(-)
--
2.52.0