The feof function determines if the end of stream has been reached. Once the end-of-file is reached, subsequent read operations return an end-of-file indicator until the file position changes (via a call to fseek or rewind). The feof function is in the RL-FlashFS library. The prototype is defined in stdio.h. |