pub fn tmpfile() -> fileExpand description
Returns a handle for a temporary file.
§Return value
A handle for a temporary file, opened in update mode and automatically removed when the program ends.
§Examples
local scratch = io.tmpfile()
scratch:write("intermediate data")
scratch:seek("set")
print(scratch:read("a")) --> intermediate data