The implementation is limited and only supports numeric arguments.

Signed-off-by: Thomas Weißschuh <li...@weissschuh.net>
---
Changes in v2:
- Return __LINE__ from different testcases to directly point to the
  failed testcase
- Add some comments
- Expand commit message
- Link to v1: 
https://lore.kernel.org/r/20240731-nolibc-scanf-v1-0-f71bcc4ab...@weissschuh.net

---
Thomas Weißschuh (2):
      tools/nolibc: add support for [v]sscanf()
      Revert "selftests: kselftest: Fix build failure with NOLIBC"

 tools/include/nolibc/stdio.h                 | 98 ++++++++++++++++++++++++++++
 tools/testing/selftests/kselftest.h          |  5 --
 tools/testing/selftests/nolibc/nolibc-test.c | 68 +++++++++++++++++++
 3 files changed, 166 insertions(+), 5 deletions(-)
---
base-commit: 665fa8dea90d9fbc0e7137c7e1315d6f7e15757e
change-id: 20240414-nolibc-scanf-f1db6930d0c6

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


Reply via email to