[libc-commits] [PATCH] D149907: [libc] add scanf system file support
Michael Jones via Phabricator via libc-commits
libc-commits at lists.llvm.org
Thu May 4 14:26:32 PDT 2023
michaelrj created this revision.
michaelrj added reviewers: sivachandra, lntue.
Herald added subscribers: libc-commits, ecnelises, tschuett.
Herald added projects: libc-project, All.
michaelrj requested review of this revision.
This patch is similar to the patch adding system file support to printf:
https://reviews.llvm.org/D146001. It also modifies the file reader
slightly to check for errors when ungetc is called.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D149907
Files:
libc/config/linux/x86_64/entrypoints.txt
libc/src/stdio/CMakeLists.txt
libc/src/stdio/fscanf.cpp
libc/src/stdio/printf_core/CMakeLists.txt
libc/src/stdio/printf_core/vfprintf_internal.h
libc/src/stdio/scanf.cpp
libc/src/stdio/scanf_core/CMakeLists.txt
libc/src/stdio/scanf_core/converter.cpp
libc/src/stdio/scanf_core/core_structs.h
libc/src/stdio/scanf_core/file_reader.cpp
libc/src/stdio/scanf_core/file_reader.h
libc/src/stdio/scanf_core/float_converter.cpp
libc/src/stdio/scanf_core/int_converter.cpp
libc/src/stdio/scanf_core/ptr_converter.cpp
libc/src/stdio/scanf_core/reader.cpp
libc/src/stdio/scanf_core/reader.h
libc/src/stdio/scanf_core/string_converter.cpp
libc/src/stdio/scanf_core/string_reader.cpp
libc/src/stdio/scanf_core/string_reader.h
libc/src/stdio/scanf_core/vfscanf_internal.cpp
libc/src/stdio/scanf_core/vfscanf_internal.h
libc/test/src/stdio/CMakeLists.txt
libc/test/src/stdio/fscanf_test.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149907.519659.patch
Type: text/x-patch
Size: 24923 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230504/7c7d7e13/attachment-0001.bin>
More information about the libc-commits
mailing list