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 ungetc() #66952

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

libc: implement ungetc() #66952

ycsin opened this issue Dec 24, 2023 · 0 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 ungetc() is not a POSIX function. It is from C89.

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

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
@nashif nashif added Enhancement Changes/Updates/Additions to existing features and removed Feature Request A request for a new feature labels Jan 19, 2024
@cfriedt cfriedt added area: C Library C Standard Library and removed area: POSIX POSIX API Library labels Jun 11, 2024
@cfriedt cfriedt removed their assignment Jun 11, 2024
@cfriedt cfriedt changed the title posix: implement ungetc() libc: implement ungetc() 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

4 participants