[PATCH 0/2] tools/nolibc: add support for [v]sscanf()

Thomas Weißschuh posted 2 patches 1 year, 6 months ago
There is a newer version of this series
tools/include/nolibc/stdio.h                 | 93 ++++++++++++++++++++++++++++
tools/testing/selftests/kselftest.h          |  5 --
tools/testing/selftests/nolibc/nolibc-test.c | 59 ++++++++++++++++++
3 files changed, 152 insertions(+), 5 deletions(-)
[PATCH 0/2] tools/nolibc: add support for [v]sscanf()
Posted by Thomas Weißschuh 1 year, 6 months ago
The implementation is limited and only supports numeric arguments.

Signed-off-by: Thomas Weißschuh <linux@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                 | 93 ++++++++++++++++++++++++++++
 tools/testing/selftests/kselftest.h          |  5 --
 tools/testing/selftests/nolibc/nolibc-test.c | 59 ++++++++++++++++++
 3 files changed, 152 insertions(+), 5 deletions(-)
---
base-commit: ae1f550efc11eaf1496c431d9c6e784cb49124c5
change-id: 20240414-nolibc-scanf-f1db6930d0c6

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

Re: [PATCH 0/2] tools/nolibc: add support for [v]sscanf()
Posted by Shuah Khan 1 year, 6 months ago
On 7/31/24 12:32, Thomas Weißschuh wrote:
> The implementation is limited and only supports numeric arguments.

It would help to add more details on why this is needed especially
in the commit log.

> 
> Signed-off-by: Thomas Weißschuh <linux@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                 | 93 ++++++++++++++++++++++++++++
>   tools/testing/selftests/kselftest.h          |  5 --
>   tools/testing/selftests/nolibc/nolibc-test.c | 59 ++++++++++++++++++
>   3 files changed, 152 insertions(+), 5 deletions(-)
> ---
> base-commit: ae1f550efc11eaf1496c431d9c6e784cb49124c5
> change-id: 20240414-nolibc-scanf-f1db6930d0c6
> 
> Best regards,