back to FEHSD
Description
The function is used to close a file that was opened with FOpen
.
Syntax
FClose(FEHFile* file);
Parameters
file: FEHFile
pointer to the file to be closed
Returns
Zero if successful, EOF otherwise.
Examples
#include <FEHSD.h> int main(void) { //Open new file for reading FEHFile *fptr = SD.FOpen("Test.txt","r"); //Close the file SD.FClose(fptr); }