fsFileClose (Function) |
Top Previous Next |
This closes a file. When all read and write operations are done, close the file to avoid accidental write operations if the media is removed or an error occurs in the program to avoid data corruption.
Input: fd : FILE FILE descriptor for the file retrieved from fsFileOpen or fsFileCreate.
Returns: INT
Declaration: FUNCTION fsFileClose : INT;
Example: ... |