Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libc: implement getchar() #66944

Open
ycsin opened this issue Dec 24, 2023 · 4 comments
Open

libc: implement getchar() #66944

ycsin opened this issue Dec 24, 2023 · 4 comments
Assignees
Labels
area: C Library C Standard Library Enhancement Changes/Updates/Additions to existing features Good first issue Good for a first time contributor to take

Comments

@ycsin
Copy link
Member

ycsin commented Dec 24, 2023

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.

@ycsin ycsin added Feature Request A request for a new feature Good first issue Good for a first time contributor to take area: POSIX POSIX API Library labels Dec 24, 2023
@cfriedt
Copy link
Member

cfriedt commented Jan 3, 2024

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

@jaiiarora
Copy link
Contributor

Thanks, I will be working on this issue

@nashif nashif added Enhancement Changes/Updates/Additions to existing features and removed Feature Request A request for a new feature labels Jan 19, 2024
@whythefyouflying
Copy link

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

@jaiiarora
Copy link
Contributor

@whythefyouflying yes you can :)

@cfriedt cfriedt added area: C Library C Standard Library and removed area: POSIX POSIX API Library labels Jun 11, 2024
@cfriedt cfriedt changed the title posix: implement getchar() libc: implement getchar() Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: C Library C Standard Library Enhancement Changes/Updates/Additions to existing features Good first issue Good for a first time contributor to take
Projects
None yet
Development

No branches or pull requests

6 participants