love.filesystem.openNativeFile
Available since LÖVE 12.0 |
This function is not supported in earlier versions. |
Opens a new File object outside of love.filesystem paths.
This documents a function for a future version of LÖVE and may be changed before final release. |
Function
Synopsis
file, errorstr = love.filesystem.openNativeFile( filename, mode )
Arguments
string filename
- The full platform-dependent path to the file.
FileMode mode
- The mode to open the file in.
Returns
File file
- The new File object, or nil if an error occurred.
string errorstr
- The error string if an error occurred.
Notes
Unlike love.filesystem.openFile which operates on restricted love.filesystem paths, this is more similar to Lua standard io.open.
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