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

Reading Files usic CFS library #2701

Open
Tagliente-Simone opened this issue Feb 9, 2022 · 0 comments
Open

Reading Files usic CFS library #2701

Tagliente-Simone opened this issue Feb 9, 2022 · 0 comments

Comments

@Tagliente-Simone
Copy link

Hello everyone! I'm using the cfs library of contiking to read a dataset from a file. The function that I use to read the file is cfs_read but actually that functions reads the entire file and puts it in a buffer string that I have to declare. Is there a way that allows me to read the file line by line and save each line in a shorter buffer string?

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

1 participant