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

create callbacks to be able to overwrite file i/o functions #165

Open
hazemati opened this issue Jul 5, 2021 · 1 comment
Open

create callbacks to be able to overwrite file i/o functions #165

hazemati opened this issue Jul 5, 2021 · 1 comment

Comments

@hazemati
Copy link

hazemati commented Jul 5, 2021

one of the applicatiosn of this library is on embedded systems, where functions such as fopen cannot be taken from <stdio.h>. It'd be nice if we could leave the functions from stdio.h as default but give the user the option to overwrite them via callbacks (similiar to what you did with malloc and free).

@kgabis
Copy link
Owner

kgabis commented Jul 6, 2021

I'll look into it at some point.

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