(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
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info