contiki-os / contiki

The official git repository for Contiki, the open source OS for the Internet of Things
http://www.contiki-os.org/
Other
3.71k stars 2.58k forks source link

Reading Files usic CFS library #2701

Open Tagliente-Simone opened 2 years ago

Tagliente-Simone commented 2 years ago

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?