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

Missing scanf family of functions #175

Open
stefanct opened this issue Mar 6, 2022 · 4 comments
Open

Missing scanf family of functions #175

stefanct opened this issue Mar 6, 2022 · 4 comments

Comments

@stefanct
Copy link

stefanct commented Mar 6, 2022

If there is no intention to add support for them, I think it should at least be documented as it is quite essential for parsing data in some applications. What's your stance on the issue? Is there any suggested workaround currently?

@phillipjohnston
Copy link
Member

I have no stance on these functions :). I haven't developed a system that has required them, and you are the first to ask. No technical or ideological reason.

@phillipjohnston
Copy link
Member

picolibc (newlib-nano) has full support. I only mention as an immediate solution - I assume you are here because you do not wish to use newlib.

@phillipjohnston
Copy link
Member

phillipjohnston commented Mar 6, 2022

Looking over these functions, one blocker is that I do not actually support FILE or stdin/out/err in this library, so it would be gated on having a suitable solution for that.

Some of the functions, such as sscanf and vsscanf, look like they would be suitable for implementation, however.

@stefanct
Copy link
Author

stefanct commented Mar 6, 2022

Yes, in this regard it is similar to some of the printf functions. sscanf is what I was after in this case. It's not a big deal for me and I can work around it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants