f:close

Closes a file

Prototype

f:close ()

Description

Closes the file f.

f:close () -- closes the file descriptor f
If the close was successful the function returns true.

If the file cannot be closed the function returns 3 things:

Lua functions

Topics