mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v3 0/2] tools/nolibc: support left-aligned printing in printf
@ 2026-01-30  7:18 licheng.li
  2026-01-30  7:18 ` [PATCH v3 1/2] tools/nolibc: support left alignment (-) " licheng.li
  2026-01-30  7:18 ` [PATCH v3 2/2] selftests/nolibc: add tests for printf left alignment and zero padding licheng.li
  0 siblings, 2 replies; 4+ messages in thread
From: licheng.li @ 2026-01-30  7:18 UTC (permalink / raw)
  To: David Laight, Willy Tarreau
  Cc: Thomas Weißschuh, linux-kernel, im.lechain

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-01-30  8:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-01-30  7:18 [PATCH v3 0/2] tools/nolibc: support left-aligned printing in printf licheng.li
2026-01-30  7:18 ` [PATCH v3 1/2] tools/nolibc: support left alignment (-) " licheng.li
2026-01-30  8:14   ` David Laight
2026-01-30  7:18 ` [PATCH v3 2/2] selftests/nolibc: add tests for printf left alignment and zero padding licheng.li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®