[PATCH 0/3] tools/nolibc: add support for asprintf()

Thomas Weißschuh posted 3 patches 4 hours ago
tools/include/nolibc/stddef.h                |  2 +-
tools/include/nolibc/stdio.h                 | 50 ++++++++++++++++++++++++++++
tools/testing/selftests/nolibc/nolibc-test.c | 49 +++++++++++++++++++++++++++
3 files changed, 100 insertions(+), 1 deletion(-)
[PATCH 0/3] tools/nolibc: add support for asprintf()
Posted by Thomas Weißschuh 4 hours ago
Add support for dynamically allocating formatted strings through
asprintf() and vasprintf().

Plus some preparatory patches.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
---
Thomas Weißschuh (3):
      tools/nolibc: use __builtin_offsetof()
      selftests/nolibc: test the memory allocator
      tools/nolibc: add support for asprintf()

 tools/include/nolibc/stddef.h                |  2 +-
 tools/include/nolibc/stdio.h                 | 50 ++++++++++++++++++++++++++++
 tools/testing/selftests/nolibc/nolibc-test.c | 49 +++++++++++++++++++++++++++
 3 files changed, 100 insertions(+), 1 deletion(-)
---
base-commit: 6285f0881ec68034399d13552f7243e69e6e37bf
change-id: 20260401-nolibc-asprintf-a0a8b6115dc5

Best regards,
--  
Thomas Weißschuh <linux@weissschuh.net>