[libc-commits] [libc] [libc] Add getc, ungetc, fflush to enable libc++ iostream on baremetal (PR #175530)

Volodymyr Turanskyy via libc-commits libc-commits at lists.llvm.org
Tue Jan 20 08:16:39 PST 2026


voltur01 wrote:

I noticed that baremetal scanf was skipping one symbol because of a local empty ungetc() implementation - I added the fix that uses newly provided ungetc() here as well.

@petrhosek , @mysterymath would you have some time to review this fix and how the previous comments were addressed, thank you!

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


More information about the libc-commits mailing list