7 years, 2 months ago.

How do I read a line by using FileHandle?

Hi,

I notice that SDFileSystem unable to use fflush file and I have to use FileHandle instead. My problem is the read() function in FileHandle is to read whole content in the file, not a line. How do I read lines to buffers by using read() like fgets?

Thanks.

Question relating to:

Fork of the official mbed C/C++ SDK provides the software platform and libraries to build your applications. The fork has the documentation converted to Doxygen format
Be the first to answer this question.