[libc-commits] [libc] [libc] Additional check for File support in scanf_core (PR #128079)

Michael Jones via libc-commits libc-commits at lists.llvm.org
Thu Feb 20 14:24:27 PST 2025


michaelrj-google wrote:

I'm not sure if this will work for baremetal, since right now the fscanf scanner requires either the system's FILE or our own FILE. We might need to add a hook similar to what's in https://github.com/llvm/llvm-project/blob/main/libc/src/stdio/baremetal/printf.cpp, or alternately just add baremetal versions of `getc` and `ungetc`

https://github.com/llvm/llvm-project/pull/128079


More information about the libc-commits mailing list