The fclose function closes the file stream opened by the fopen function. All buffers associated with the stream are flushed prior to closing. Buffers allocated by the system are released when the stream is closed. The fclose function is in the RL-FlashFS library. The prototype is defined in stdio.h. |