zephyrproject-rtos / zephyr

Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.
https://docs.zephyrproject.org
Apache License 2.0
10.6k stars 6.49k forks source link

libc: implement `getchar()` #66944

Open ycsin opened 9 months ago

ycsin commented 9 months ago

This was originally added as a ticket under POSIX, but getchar() is not a POSIX function. It is from C89.

https://en.cppreference.com/w/c/io/getchar

The expectation from the POSIX API is that this function is implemented as part of whatever C library is in use.

cfriedt commented 9 months ago

Cannot assign to @jaiiarora, but they would like to implement this one.

jaiiarora commented 9 months ago

Thanks, I will be working on this issue

whythefyouflying commented 7 months ago

If @jaiiarora is not working on this I would like to try

jaiiarora commented 7 months ago

@whythefyouflying yes you can :)