(File):flush

(File):flush

Available since LÖVE 0.9.0
This function is not supported in earlier versions.

Flushes any buffered written data in the file to the disk.

Function

Synopsis

success, err = File:flush( )

Arguments

None.

Returns

boolean success
Whether the file successfully flushed any buffered data to the disk.
string err (nil)
The error string, if an error occurred and the file could not be flushed.

See Also

doc_love
2017-03-21 15:40:25
Comments
Leave a Comment

Please login to continue.