fsFileFlush (Function) |
Top Previous Next |
This function writes any cached data to the media. To improve performance, the file system caches data written by the application and only physically writes data to the media after several writes operations or when the file is closed. Calling fsFileFlush is equal to closing the file and opening it again - except that the current position in the file is maintained.
Input: fd : FILE FILE descriptor for the file retrieved from fsFileOpen or fsFileCreate.
Returns: INT
Declaration: FUNCTION fsFileflush : INT;
Example: ... |