back to FEHSD
Description
The function is used to close all files that were opened with FOpen
.
Syntax
FCloseAll();
Parameters
None.
Returns
Zero if successful, EOF otherwise.
Examples
#include <FEHSD.h> int main(void) { //Open two files for reading FEHFile *fptr = SD.FOpen("Test.txt","r"); FEHFile *fptr2 = SD.FOpen("Test2.txt","r"); //Close both files SD.FCloseAll(); }